Skip to content
This repository has been archived by the owner on Oct 24, 2018. It is now read-only.

Commit

Permalink
fixed small bug in service state saving when not globally in json-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zangerl committed Oct 4, 2015
1 parent c3c8882 commit 58a62f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/nmis.pl
Original file line number Diff line number Diff line change
Expand Up @@ -4681,7 +4681,7 @@ sub runServices {
$status{$service}->{description} ||= $ST->{$service}->{Description}; # but that's free-form
$status{$service}->{last_run} ||= time;

writeHashtoFile(file => $statusfn, data => $status{$service});
writeHashtoFile(file => $statusfn, data => $status{$service}, json => 1);
setFileProt($statusfn);
}

Expand Down

0 comments on commit 58a62f5

Please sign in to comment.