mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Supress error output
This commit is contained in:
@ -26,7 +26,7 @@ if ($oldsite{'size'} != $st[7] ||
|
|||||||
|
|
||||||
# Get the list of modules
|
# Get the list of modules
|
||||||
my @mods;
|
my @mods;
|
||||||
open(MODS, "$config{'proftpd_path'} -vv |");
|
open(MODS, "$config{'proftpd_path'} -vv 2>/dev/null |");
|
||||||
while(<MODS>) {
|
while(<MODS>) {
|
||||||
s/\r|\n//g;
|
s/\r|\n//g;
|
||||||
if (/^\s*(?<mod_built_in>\S+)\.c$|\s*(?<mod_loaded>mod_[a-zA-Z0-9_]+)\//) {
|
if (/^\s*(?<mod_built_in>\S+)\.c$|\s*(?<mod_loaded>mod_[a-zA-Z0-9_]+)\//) {
|
||||||
|
Reference in New Issue
Block a user