Skip to content

Commit 0e73c1b

Browse files
author
Phil Dier
committed
make status command exit with proper code
1 parent 98a07ef commit 0e73c1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packaging/rpm/init.d/grafana-server

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ case "$1" in
138138
;;
139139
status)
140140
status -p $PID_FILE $NAME
141+
exit $?
141142
;;
142143
restart|force-reload)
143144
if [ -f "$PID_FILE" ]; then

0 commit comments

Comments
 (0)