No need to show anything when flushing queue https://github.com/webmin/webmin/issues/2303

This commit is contained in:
Jamie Cameron
2024-10-30 21:11:07 -07:00
parent 580149f8bd
commit 6d6dd87d38

View File

@ -7,10 +7,8 @@ require './postfix-lib.pl';
$cmd = "$config{'postfix_queue_command'} -c $config_dir -f";
print &text('flushq_desc', "<tt>$cmd</tt>"),"<br>\n";
print "<pre>";
&foreign_require("proc", "proc-lib.pl");
&foreign_call("proc", "safe_process_exec_logged", $cmd, 0, 0, STDOUT, undef, 1);
print "</pre>\n";
$out = &backquote_logged("$cmd 2>&1 </dev/null");
print "<pre>",&html_escape($out),"</pre>\n" if ($out =~ /\S/);
print $text{'flushq_desc2'},"<p>\n";
&webmin_log("flushq");