diff options
-rwxr-xr-x | extras/hook-scripts/start/post/S30samba-start.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hook-scripts/start/post/S30samba-start.sh b/extras/hook-scripts/start/post/S30samba-start.sh index 752eca650d3..3e0f2573b60 100755 --- a/extras/hook-scripts/start/post/S30samba-start.sh +++ b/extras/hook-scripts/start/post/S30samba-start.sh @@ -102,7 +102,7 @@ function get_smb () { } parse_args $@ -if [ $(get_smb "$VOL") = "disable" ]; then +if [ "$(get_smb "$VOL")" = "disable" ]; then exit 0 fi |