From 73e9ef18a9d7797487d7605239193c3428b84c36 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Mon, 11 Jul 2011 22:37:11 +0200 Subject: [PATCH] fixed a little bug in runSafe --- bin/runSafe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/runSafe.sh b/bin/runSafe.sh index 5db1e960d..180de1fe3 100755 --- a/bin/runSafe.sh +++ b/bin/runSafe.sh @@ -36,7 +36,7 @@ while [ 1 ] do #try to touch the file if it doesn't exist if [ ! -f $1 ]; then - touch $1 || echo "Logfile '$1' is not writeable" && exit 1 + touch $1 || ( echo "Logfile '$1' is not writeable" && exit 1 ) fi #check if the file is writeable