gsu: Minor cosmetic cleanup.
[gsu.git] / funcs / gsu
index df25bf6..d78233e 100644 (file)
--- a/funcs/gsu
+++ b/funcs/gsu
@@ -432,7 +432,7 @@ gsu()
        for i in $gsu_cmds; do
                if test "$arg" = "$i"; then
                        com_$arg "$@"
-                       if test $ret -lt 0; then
+                       if [[ "$ret" -lt 0 ]]; then
                                gsu_err_msg
                                exit 1
                        fi