quotes around path

This commit is contained in:
Serghey Rodin 2015-11-05 03:12:10 +02:00
parent c06ba9fc9c
commit 8ec9ae5d86

View file

@ -34,7 +34,7 @@ if [ -z "$(echo $rpath |grep $homedir)" ]; then
fi
# Listing file type
sudo -u $user file -i -b $path 2>/dev/null
sudo -u $user file -i -b "$path" 2>/dev/null
# Exiting
exit $?