mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Handle dpkg --configure -a restarting Webmin
This commit is contained in:
@@ -22,6 +22,7 @@ print "<pre>";
|
||||
&additional_log('exec', undef, $cmd);
|
||||
|
||||
# Run dpkg --configure -a to clear any un-configured packages
|
||||
$SIG{'TERM'} = 'ignore'; # This may cause a Webmin re-config!
|
||||
local $out = &backquote_logged("dpkg --configure -a 2>&1 </dev/null");
|
||||
print &html_escape($out);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user