diff --git a/backup.nix b/backup.nix index 1accf0a..81291db 100644 --- a/backup.nix +++ b/backup.nix @@ -13,7 +13,7 @@ let exit 1; fi echo "Starting backup."; - path="$(systemd-escape -u --path \"$1\")"; + path="$(systemd-escape -u --path "$1")"; restic backup "$path"; ''; };