gsu: Minor cosmetic cleanup.
authorAndre Noll <maan@systemlinux.org>
Mon, 13 Sep 2010 03:30:18 +0000 (05:30 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 29 Aug 2014 19:36:08 +0000 (21:36 +0200)
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