summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPeter 'Pita' Martischka <petermartischka@googlemail.com>2011-07-11 22:37:11 +0200
committerPeter 'Pita' Martischka <petermartischka@googlemail.com>2011-07-11 22:37:11 +0200
commit73e9ef18a9d7797487d7605239193c3428b84c36 (patch)
tree3ad28f3b710141260d9a248f2841af04c40ddf46 /bin
parentd9084bd8a24c74b2cec2a7e1cb014a110d28262a (diff)
downloadetherpad-lite-73e9ef18a9d7797487d7605239193c3428b84c36.zip
fixed a little bug in runSafe
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runSafe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/runSafe.sh b/bin/runSafe.sh
index 5db1e960..180de1fe 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