Skip to content

Commit

Permalink
fix restart if the process is stopped (#4849)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <[email protected]>
  • Loading branch information
HarrisChu and Sophie-Xie authored Nov 18, 2022
1 parent 3e2d7b2 commit 5bf34d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/nebula.service
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function stop_by_pid_file {
[[ ${VERBOSE} -ne 0 ]] && INFO "Send SIG${signame} to $(cat ${pid_file})"
kill -s ${signame} $(cat ${pid_file})
else
[[ ${VERBOSE} -ne 0 ]] && INFO "No such process"
[[ ${VERBOSE} -ne 0 ]] && INFO "No such process" || code=$?
fi
}

Expand Down

0 comments on commit 5bf34d7

Please sign in to comment.