summaryrefslogtreecommitdiff
path: root/newfile.sh
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2009-11-23 23:06:05 (GMT)
committerChristian Pointner <equinox@helsinki.at>2009-11-23 23:06:05 (GMT)
commit402796b55322167c3fa0d33d77eafb65761e4a59 (patch)
treeef5337eca5f3ddb6637203e70b7d83bdb5480a8a /newfile.sh
parentc19b1f89208de84e3c9a1fb87c9467941c353c59 (diff)
improved log-levels for various messages
Diffstat (limited to 'newfile.sh')
-rwxr-xr-xnewfile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/newfile.sh b/newfile.sh
index 453b3d6..f4bd2e4 100755
--- a/newfile.sh
+++ b/newfile.sh
@@ -9,6 +9,6 @@ fi
echo "new file detected $DIR/$FILENAME" >> /tmp/newfile.log
sleep 5
-rm $DIR/$FILENAME >> /tmp/newfile.log 2>&1
+rm -f $DIR/$FILENAME >> /tmp/newfile.log 2>&1
exit 0 \ No newline at end of file