Unverified Commit a46949cb authored by sweenu's avatar sweenu
Browse files

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.
parent 056fe46e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -494,7 +494,7 @@ in
              ${pkgs.writeScript "backupCleanupCommand" backup.backupCleanupCommand}
            ''}
            ${lib.optionalString fileBackup ''
              rm ${filesFromTmpFile}
              rm -f ${filesFromTmpFile}
            ''}
          '';
        }