Fix invalid closing of queues from sender, improve cleaning of pid files

This commit is contained in:
osaajani 2020-03-04 03:28:34 +01:00
parent 6f8c7d62b9
commit ca9397b62d
5 changed files with 14 additions and 17 deletions

View file

@ -25,6 +25,7 @@ then
if [ $RETURN -eq 0 ]
then
rm -f "$DAEMON_LAUNCHER_PID_FILE"
printf "success.\n"
else
printf "failed.\n"
@ -42,6 +43,7 @@ do
printf "."
PID=$(cat "$f")
kill_process "$PID"
rm -f "$f"
done
printf "Done.\n"