net/mwan3: mwan3track interrupt sleep on signal (trap) event

Sleep will be aborted if a signal is send to this process.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 7e80e83dfd)
This commit is contained in:
Florian Eckert
2017-04-06 16:36:46 +02:00
parent eefc65b014
commit 8a111b5b27

View File

@@ -59,7 +59,8 @@ while true; do
fi
host_up_count=0
sleep $6
sleep $6 &
wait
done
exit 1