[packages/gitlab-ce] gitlab-ctl: report when command not supported
glen
glen at pld-linux.org
Tue May 2 21:19:47 CEST 2017
commit 568258dbd66206c9a9870fc867d86f93ca16cdc9
Author: Elan Ruusamäe <glen at 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
More information about the pld-cvs-commit
mailing list