[PATCH 03/13] dispatcher: use $file instead of $mbox

Jacob Keller jacob.e.keller at intel.com
Thu Mar 20 16:37:01 PDT 2014


The dispatcher-helper actually moves the mbox into its temporary dir
which no longer exists. We passed this $mbox into the dispatch hook when
instead we should have been using the $file variable.

Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
---
 email/aiaiai-email-dispatcher-helper | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/email/aiaiai-email-dispatcher-helper b/email/aiaiai-email-dispatcher-helper
index 9627182326fc..c0c188e50626 100755
--- a/email/aiaiai-email-dispatcher-helper
+++ b/email/aiaiai-email-dispatcher-helper
@@ -99,8 +99,8 @@ tmpdir="$(mktemp -dt "$PROG.XXXX")"
 # Run the dispatcher hook
 if [ -n "$cfg_dispatch_hook" ]; then
 	hook="$(readlink -fv -- "$cfg_dispatch_hook")"
-	verbose "Running \"$hook\" on \"$mbox\""
-	$hook "$mbox" "$cfgfile"
+	verbose "Running \"$hook\" on \"$file\""
+	$hook "$file" "$cfgfile"
 fi
 
 verbose "Validating \"$mbox\", queue directory is: $queuedir"
-- 
1.8.3.1




More information about the aiaiai mailing list