commit 568258dbd66206c9a9870fc867d86f93ca16cdc9
Author: Elan Ruusamäe <g...@delfi.ee>
Date:   Tue May 2 22:19:37 2017 +0300

    gitlab-ctl: report when command not supported

 gitlab-ctl.sh | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gitlab-ctl.sh b/gitlab-ctl.sh
index ad54c18..402537d 100755
--- a/gitlab-ctl.sh
+++ b/gitlab-ctl.sh
@@ -128,4 +128,7 @@ restart)
 tail)
        logtail "$@"
        ;;
+*)
+       echo >&2 "$0: $COMMAND not supported"
+       exit 3
 esac
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to