Supress error output

This commit is contained in:
Jamie Cameron 2025-02-18 18:19:15 -08:00
parent 718c2f0b3c
commit cc1ae9d343

View File

@ -26,7 +26,7 @@ if ($oldsite{'size'} != $st[7] ||
# Get the list of modules
my @mods;
open(MODS, "$config{'proftpd_path'} -vv |");
open(MODS, "$config{'proftpd_path'} -vv 2>/dev/null |");
while(<MODS>) {
s/\r|\n//g;
if (/^\s*(?<mod_built_in>\S+)\.c$|\s*(?<mod_loaded>mod_[a-zA-Z0-9_]+)\//) {