From: Stefan Schantl Date: Tue, 29 Jan 2019 07:58:08 +0000 (+0100) Subject: ids-functions.pl: Set correct ownership for the stored error file. X-Git-Tag: v2.23-core131~117^2~101 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=3c59b1fab85f76f75e0b6bb89cd9c007b2416b57 ids-functions.pl: Set correct ownership for the stored error file. Signed-off-by: Stefan Schantl --- diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index d8044b4e86..efe89b512f 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -387,6 +387,9 @@ sub _store_error_message ($) { # Close file. close (ERRORFILE); + + # Set correct ownership for the file. + &set_ownership("$storederrorfile"); } #