Browse Source

quotes around path

Serghey Rodin 10 years ago
parent
commit
8ec9ae5d86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-get-fs-file-type

+ 1 - 1
bin/v-get-fs-file-type

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