ソースを参照

make status command exit with proper code

Phil Dier 10 年 前
コミット
0e73c1bf78
1 ファイル変更1 行追加0 行削除
  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