From 6d6dd87d380a55454b4e54aed229c74f8e48336c Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Wed, 30 Oct 2024 21:11:07 -0700 Subject: [PATCH] No need to show anything when flushing queue https://github.com/webmin/webmin/issues/2303 --- postfix/flushq.cgi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/postfix/flushq.cgi b/postfix/flushq.cgi index 22a41b503..f2240448e 100755 --- a/postfix/flushq.cgi +++ b/postfix/flushq.cgi @@ -7,10 +7,8 @@ require './postfix-lib.pl'; $cmd = "$config{'postfix_queue_command'} -c $config_dir -f"; print &text('flushq_desc', "$cmd"),"
\n"; -print "
";
-&foreign_require("proc", "proc-lib.pl");
-&foreign_call("proc", "safe_process_exec_logged", $cmd, 0, 0, STDOUT, undef, 1);
-print "
\n"; +$out = &backquote_logged("$cmd 2>&1 ",&html_escape($out),"\n" if ($out =~ /\S/); print $text{'flushq_desc2'},"

\n"; &webmin_log("flushq");