From 93c4554f62a1a8d9170e3acb4d7937691ea0fd58 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sat, 2 Mar 2013 03:07:34 +0000 Subject: Leave the process some time to create the file --- jaildaemon.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jaildaemon.sh b/jaildaemon.sh index 0741c23..52098ed 100755 --- a/jaildaemon.sh +++ b/jaildaemon.sh @@ -14,6 +14,7 @@ echo -n "Killing (respawnin) task: " pgrep -f Schnupsi pkill -HUP -f Schnupsi +sleep 1 echo "Yielding file, touched by task:" ls -al /foo @@ -28,6 +29,7 @@ pgrep -f Schnupsi echo "Killing with normal signal:" pkill -f Schnupsi +sleep 1 echo "Expecting no file here:" ls -al /foo -- cgit v1.2.3