Explorar o código

quotes around path

Serghey Rodin %!s(int64=10) %!d(string=hai) anos
pai
achega
8ec9ae5d86
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 
 # 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 $?