mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 01:16:26 +02:00
Fix invalid closing of queues from sender, improve cleaning of pid files
This commit is contained in:
parent
6f8c7d62b9
commit
ca9397b62d
5 changed files with 14 additions and 17 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue