summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-07-28 11:49:13 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-07-28 11:49:13 (EDT)
commit1802fbf66276da1ee2411112b3e68cbe3b4c1026 (patch)
tree161cb2a137c972fdf6c61477c794b6cca338f22e /lib
parent9344a76d9ce3e96b65a7d1c64ee8af7adc32b35c (diff)
process-incoming: Verify pathname expansion.
Diffstat (limited to 'lib')
-rw-r--r--lib/cmd/process-incoming.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/cmd/process-incoming.sh b/lib/cmd/process-incoming.sh
index 9e0f403..0d0b155 100644
--- a/lib/cmd/process-incoming.sh
+++ b/lib/cmd/process-incoming.sh
@@ -28,6 +28,9 @@ cmd_process_incoming_main()
info "$(get_msg 'cmd_process_incoming_processing')"
for changes in "${conf_incoming_dir}/"*.changes; do
+ if [ ! -f "${changes}" ]; then
+ continue
+ fi
include_changes "${changes}"
done
}