]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-instaweb.sh
Supplant the "while case ... break ;; esac" idiom
[thirdparty/git.git] / git-instaweb.sh
index b79c6b6a42069168daf4e4ff191d08835f96e40f..f5629e7439955666b1755177135ac7ac198bad54 100755 (executable)
@@ -61,7 +61,7 @@ stop_httpd () {
        test -f "$fqgitdir/pid" && kill `cat "$fqgitdir/pid"`
 }
 
-while case "$#" in 0) break ;; esac
+while test $# != 0
 do
        case "$1" in
        --stop|stop)