1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-23 03:29:48 +01:00

populate: re-add default values for useChecksum/exclude

Turns out, those where required.
This commit is contained in:
Jörg Thalheim 2019-12-23 22:00:53 +00:00 committed by Lassulus
parent fff9b24ec9
commit fce5826802

View file

@ -156,11 +156,11 @@ let
source_path=$source_path/
fi
${rsync}/bin/rsync \
${optionalString config.useChecksum /* sh */ "--checksum"} \
${optionalString (config.useChecksum or false) /* sh */ "--checksum"} \
${optionalString target.sudo /* sh */ "--rsync-path=\"sudo rsync\""} \
${concatMapStringsSep " "
(pattern: /* sh */ "--exclude ${quote pattern}")
config.exclude} \
(config.exclude or [])} \
-e ${quote (ssh' target)} \
-vFrlptD \
--delete-excluded \