Avoid needless arg on queue-runner exec
authorJeremy Harris <jgh146exb@wizmail.org>
Mon, 3 Feb 2020 14:21:00 +0000 (14:21 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Mon, 3 Feb 2020 14:21:00 +0000 (14:21 +0000)
src/src/daemon.c

index 42e291cf8e63a780cc8e6fa15f648491f0591d64..ddfd8e7dc59b5a129e367e7d31d988e9be2ef3dd 100644 (file)
@@ -1971,7 +1971,7 @@ for (;;)
             if (f.deliver_force_thaw) *p++ = 'f';
             if (f.queue_run_local) *p++ = 'l';
             *p = 0;
-           extra[0] = queue_name
+           extra[0] = *queue_name
              ? string_sprintf("%sG%s", opt, queue_name) : opt;
 
             /* If -R or -S were on the original command line, ensure they get