提交 a89603f6 编写于 作者: O Oliver Gondža

Merge pull request #1534 from tuladhar/fix_exit_code

Fix jenkins debian init script to exit with proper return code on error.
......@@ -34,13 +34,13 @@ SU=/bin/su
# Exit if the package is not installed
if [ ! -x "$DAEMON" ]; then
echo "daemon package not installed" >&2
exit 0
exit 1
fi
# Exit if not supposed to run standalone
if [ "$RUN_STANDALONE" = "false" ]; then
echo "Not configured to run standalone" >&2
exit 0
exit 1
fi
# load environments
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册