Browse code

missed one

git-svn: trunk@4083

Török Edvin authored on 2008/08/04 23:19:58
Showing 1 changed files
... ...
@@ -28,7 +28,7 @@ run_clamd_fdpass_test() {
28 28
 		echo "Failed to run clamdscan!" >&2;
29 29
 		die 3;
30 30
 	fi
31
-	test /tmp/clamd-test.pid && kill `cat /tmp/clamd-test.pid`
31
+	test -f /tmp/clamd-test.pid && kill -0 `cat /tmp/clamd-test.pid` && kill `cat /tmp/clamd-test.pid`
32 32
 }
33 33
 
34 34
 mkdir -p test-db