diff --git a/Netdisco/Changes b/Netdisco/Changes index eb9227e6..2d227467 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -4,6 +4,11 @@ * [#171] Log files now rotate at 10MB up to seven times + [BUG FIXES] + + * Another fix for NetAddr::MAC tripping up on v6 addresses + * [#191] Fix error when stopping stopped web daemon + 2.030000 - 2015-01-08 [NEW FEATURES] diff --git a/Netdisco/bin/netdisco-web b/Netdisco/bin/netdisco-web index d7aea73e..e84a20ac 100755 --- a/Netdisco/bin/netdisco-web +++ b/Netdisco/bin/netdisco-web @@ -64,6 +64,7 @@ my $log_file = file($log_dir, 'netdisco-web.log'); foreach my $file ($pid_file, $log_file) { unless (-e $file) { sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK|O_NOCTTY; + print $fh '0' if $file eq $pid_file; close $fh; } chown $uid, $gid, $file;