commit c19bdbf1f87282174d23991b9b2b919a55c74061
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Aug 23 00:44:55 2016 +0300

    avoid passing command itself as arguments to subcommand

 gitlab-ctl.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gitlab-ctl.sh b/gitlab-ctl.sh
index 39bff2c..088aafa 100755
--- a/gitlab-ctl.sh
+++ b/gitlab-ctl.sh
@@ -66,7 +66,8 @@ posttrans() {
        EOF
 }
 
-case "$1" in
+COMMAND=$1; shift
+case "$COMMAND" in
 preinst)
        preinst
        ;;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/c19bdbf1f87282174d23991b9b2b919a55c74061

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to