diff --git a/data/gsmartcontrol-root.in.sh b/data/gsmartcontrol-root.in.sh index 1f123c9..a47514e 100644 --- a/data/gsmartcontrol-root.in.sh +++ b/data/gsmartcontrol-root.in.sh @@ -93,7 +93,7 @@ fi if [ "$GSMARTCONTROL_SU" = "" ]; then for subin in $candidates; do - which $subin &>/dev/null + which "$subin" &>/dev/null if [ $? -eq 0 ]; then found_su="$subin"; break;