SbloodyS commented on code in PR #12118:
URL:
https://github.com/apache/dolphinscheduler/pull/12118#discussion_r1007904585
##########
script/dolphinscheduler-daemon.sh:
##########
@@ -81,8 +79,26 @@ else
exit 1
fi
+state=""
+function get_server_running_status() {
+ state="STOP"
+ if [ -f $pid ]; then
+ TARGET_PID=`cat $pid`
+ server_running_count=`ps -p $TARGET_PID --no-headers | wc -l`
Review Comment:
It seems like `--no-headers` can not be running in `MacOS`. It's better to
use a compatible way.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]