nixos/restic: rm -f tempfiles

In some cases, restic fails because the tempfiles haven't been
created. `rm -f` won't fail when the files don't exist.
This commit is contained in:
sweenu
2025-09-28 05:35:19 +02:00
parent 056fe46ee6
commit a46949cbf5
+1 -1
View File
@@ -494,7 +494,7 @@ in
${pkgs.writeScript "backupCleanupCommand" backup.backupCleanupCommand}
''}
${lib.optionalString fileBackup ''
rm ${filesFromTmpFile}
rm -f ${filesFromTmpFile}
''}
'';
}