aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--utils.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.nix b/utils.nix
index 942b202..2c1a9d3 100644
--- a/utils.nix
+++ b/utils.nix
@@ -90,7 +90,7 @@ in rec {
set -euo pipefail
OUT_DOCS="${docsDerivation}"
${
- if overwrite then "# " else ""
+ if overwrite then "" else "# "
}${pkgs.openssh}/bin/ssh -o StrictHostKeyChecking=no "$SERVER_URL" rm -rf "$DOCS_SERVER_PATH/*"
${pkgs.rsync}/bin/rsync -avzP \
--rsh="ssh -o StrictHostKeyChecking=no" \