This commit is contained in:
Umut Korkmaz 2022-07-06 19:43:11 +03:00 committed by GitHub
parent 16f18bd8b3
commit d3bde491c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ fi
# Checking destination path
rpath=$(readlink -f "$dst_file")
if [ -z "$(echo $rpath |egrep "^/tmp|^$homedir")" ]; then
echo "Error: ivalid destination path $dst_file"
echo "Error: invalid destination path $dst_file"
exit 2
fi