From cc1ae9d3434196c9659d5f25ea593aa40d0f3007 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 18 Feb 2025 18:19:15 -0800 Subject: [PATCH] Supress error output --- proftpd/proftpd-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_]+)\//) {