diff options
Diffstat (limited to 'arch-system/backup-sudo')
-rwxr-xr-x | arch-system/backup-sudo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-system/backup-sudo b/arch-system/backup-sudo index 38594da..1091451 100755 --- a/arch-system/backup-sudo +++ b/arch-system/backup-sudo @@ -2,7 +2,7 @@ validate_path() { # validate path - targetpath=$(realpath -m -- "$1") + targetpath="$(realpath -m -- "$1")" if [[ "$targetpath" != /.snapshots/* ]]; then echo "Invalid path given." >&2 exit 2 |