]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/cfgroot/ids-functions.pl
ids-functions.pl: Set correct ownership for the stored error file.
[ipfire-2.x.git] / 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");
 }
 
 #