summaryrefslogtreecommitdiff
path: root/newfile.sh
diff options
context:
space:
mode:
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