summaryrefslogtreecommitdiffstats
path: root/src/cmd/process-incoming.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 01:36:13 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 01:36:13 (EDT)
commit049f1d1434c5e3dc5f1c6a0d57711b33911c3b12 (patch)
tree3a7cd9ab47da1a93efc2b4a37d6064ef3cd8608f /src/cmd/process-incoming.sh
parent38c211c927c942d30946dfc7caaa5bb6535ea66a (diff)
Protect against cmd operands beginning with "-"
Diffstat (limited to 'src/cmd/process-incoming.sh')
-rw-r--r--src/cmd/process-incoming.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/process-incoming.sh b/src/cmd/process-incoming.sh
index 59e7818..4a5e7d9 100644
--- a/src/cmd/process-incoming.sh
+++ b/src/cmd/process-incoming.sh
@@ -37,9 +37,9 @@ cmd_process_incoming_main()
if [ ! -f "${file}" ]; then
continue
fi
- rm -f "${file}"
+ rm -f -- "${file}"
done
- rm -f "${changes}"
+ rm -f -- "${changes}"
done
fini