diff --git a/proftpd/proftpd-lib.pl b/proftpd/proftpd-lib.pl index ed37754d5..a604056d3 100755 --- a/proftpd/proftpd-lib.pl +++ b/proftpd/proftpd-lib.pl @@ -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() { s/\r|\n//g; if (/^\s*(?\S+)\.c$|\s*(?mod_[a-zA-Z0-9_]+)\//) {