fixed a little bug in runSafe

This commit is contained in:
Peter 'Pita' Martischka 2011-07-11 22:37:11 +02:00
parent d9084bd8a2
commit 73e9ef18a9
1 changed files with 1 additions and 1 deletions

View File

@ -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