mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
No need to show anything when flushing queue https://github.com/webmin/webmin/issues/2303
This commit is contained in:
@ -7,10 +7,8 @@ require './postfix-lib.pl';
|
|||||||
|
|
||||||
$cmd = "$config{'postfix_queue_command'} -c $config_dir -f";
|
$cmd = "$config{'postfix_queue_command'} -c $config_dir -f";
|
||||||
print &text('flushq_desc', "<tt>$cmd</tt>"),"<br>\n";
|
print &text('flushq_desc', "<tt>$cmd</tt>"),"<br>\n";
|
||||||
print "<pre>";
|
$out = &backquote_logged("$cmd 2>&1 </dev/null");
|
||||||
&foreign_require("proc", "proc-lib.pl");
|
print "<pre>",&html_escape($out),"</pre>\n" if ($out =~ /\S/);
|
||||||
&foreign_call("proc", "safe_process_exec_logged", $cmd, 0, 0, STDOUT, undef, 1);
|
|
||||||
print "</pre>\n";
|
|
||||||
print $text{'flushq_desc2'},"<p>\n";
|
print $text{'flushq_desc2'},"<p>\n";
|
||||||
&webmin_log("flushq");
|
&webmin_log("flushq");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user