]> git.tuebingen.mpg.de Git - gsu.git/commitdiff
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 df25bf63c429ca9873024a2dd4e8283be161143c..d78233ed3a8e2dab0fbaa092006f5ecc167391ff 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