summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-12-22 20:53:04 +0100
committertv <tv@krebsco.de>2016-12-22 20:53:04 +0100
commit72f465f719d362fb54c061979d2ad87a5c203b5b (patch)
tree098902e7bd4395c781614df90104b862fd97f213 /krebs/3modules
parent47056b7fb434708f2ea1151317501ea95ebbf8d5 (diff)
krebs.backup: shellcheck disable=SC2174
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/backup.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/krebs/3modules/backup.nix b/krebs/3modules/backup.nix
index 96b283002..bfb0ab591 100644
--- a/krebs/3modules/backup.nix
+++ b/krebs/3modules/backup.nix
@@ -137,6 +137,9 @@ let
echo >&2 "update snapshot current; $rsync_dst <- $rsync_src"
'';
}}
+ # In `dst-rsync`'s `mkdir m 0700 -p` above, we care only about permission
+ # of the deepest directory:
+ # shellcheck disable=SC2174
${local.rsync} >&2 \
-aAXF --delete \
--rsh=${shell.escape ssh} \