Handle dpkg --configure -a restarting Webmin

This commit is contained in:
Jamie Cameron
2008-11-07 19:00:22 +00:00
parent f798b3f6cc
commit 9ee964f1e7

View File

@@ -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);