Explorar o código

make status command exit with proper code

Phil Dier %!s(int64=10) %!d(string=hai) anos
pai
achega
0e73c1bf78
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packaging/rpm/init.d/grafana-server

+ 1 - 0
packaging/rpm/init.d/grafana-server

@@ -138,6 +138,7 @@ case "$1" in
     ;;
   status)
     status -p $PID_FILE $NAME
+    exit $?
     ;;
   restart|force-reload)
     if [ -f "$PID_FILE" ]; then