diff options
author | Sven Nierlein <Sven.Nierlein@consol.de> | 2013-09-12 11:57:57 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@consol.de> | 2013-09-12 21:39:31 (GMT) |
commit | 38ef9b60a08c7b831986280a26ded58215f343bb (patch) | |
tree | e66bc687a2c5311bb04a0ae1157591d8b076b6d5 /NPTest.pm | |
parent | 07f9a0f6274331ab6e45ac36ac1fe60d120dd2fb (diff) | |
download | monitoring-plugins-38ef9b60a08c7b831986280a26ded58215f343bb.tar.gz |
tests: sort cached settings before save
Diffstat (limited to 'NPTest.pm')
-rw-r--r-- | NPTest.pm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -460,6 +460,7 @@ sub SaveCache | |||
460 | my( $dataDumper ) = new Data::Dumper( [ \%CACHE ] ); | 460 | my( $dataDumper ) = new Data::Dumper( [ \%CACHE ] ); |
461 | 461 | ||
462 | $dataDumper->Terse(1); | 462 | $dataDumper->Terse(1); |
463 | $dataDumper->Sortkeys(1); | ||
463 | 464 | ||
464 | print $fileHandle $dataDumper->Dump(); | 465 | print $fileHandle $dataDumper->Dump(); |
465 | 466 | ||