From 1802fbf66276da1ee2411112b3e68cbe3b4c1026 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 28 Jul 2013 11:49:13 -0400 Subject: process-incoming: Verify pathname expansion. --- (limited to 'lib') 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 } -- cgit v0.9.1