]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ids-functions.pl: Set correct ownership for the stored error file.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 29 Jan 2019 07:58:08 +0000 (08:58 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 29 Jan 2019 07:58:08 +0000 (08:58 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl

index d8044b4e86bb3d6d5975c52e908e9a88ebb79224..efe89b512f6f4530fae6c2eac23b2e14a8d0f267 100644 (file)
@@ -387,6 +387,9 @@ sub _store_error_message ($) {
 
         # Close file.
         close (ERRORFILE);
+
+       # Set correct ownership for the file.
+       &set_ownership("$storederrorfile");
 }
 
 #