提交 c7f9c630 编写于 作者: P Puru Tuladhar

Fix jenkins debian init script to exit with proper return code on error.

上级 3859cc36
......@@ -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.
先完成此消息的编辑!
想要评论请 注册