Skip to content

Commit 8ec9ae5

Browse files
committed
quotes around path
1 parent c06ba9f commit 8ec9ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-get-fs-file-type

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if [ -z "$(echo $rpath |grep $homedir)" ]; then
3434
fi
3535

3636
# Listing file type
37-
sudo -u $user file -i -b $path 2>/dev/null
37+
sudo -u $user file -i -b "$path" 2>/dev/null
3838

3939
# Exiting
4040
exit $?

0 commit comments

Comments
 (0)