From 77e809166c83e995159678e0f18f0932f0e91f06 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Wed, 3 Jul 2024 10:40:20 +0300 Subject: [PATCH] Fix to use `backquote_command` instead --- web-lib-funcs.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-lib-funcs.pl b/web-lib-funcs.pl index 406b28652..53f20e1a6 100755 --- a/web-lib-funcs.pl +++ b/web-lib-funcs.pl @@ -10682,7 +10682,8 @@ elsif (defined($main::open_tempfiles{$_[0]})) { if ($getfacl && $setfacl) { # Set original ACLs my $qaclfile = quotemeta($_[0]); - $file_acls = `$getfacl --absolute-names $qaclfile`; + $file_acls = &backquote_command( + "$getfacl --absolute-names $qaclfile 2>/dev/null"); } # Get status info for a file my @st = stat($_[0]);