From 8ec9ae5d86af787c379cd739a7d89b7a11f61939 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Thu, 5 Nov 2015 03:12:10 +0200 Subject: [PATCH] quotes around path --- bin/v-get-fs-file-type | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-get-fs-file-type b/bin/v-get-fs-file-type index 04d28d34..ba2b7a66 100755 --- a/bin/v-get-fs-file-type +++ b/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 $?