borgbackup-list: use pipefail

This commit is contained in:
Jörg Thalheim
2024-12-23 14:16:20 +01:00
parent c0ff99863d
commit ed11bff94f

View File

@@ -145,7 +145,7 @@ in
'') (lib.attrValues cfg.destinations)}
'')
(pkgs.writeShellScriptBin "borgbackup-list" ''
set -efu
set -efu -o pipefail
(${
lib.concatMapStringsSep "\n" (
dest: