mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-13 18:50:01 -04:00
tests: sort cached settings before save
This commit is contained in:
parent
07f9a0f627
commit
38ef9b60a0
1 changed files with 1 additions and 0 deletions
|
|
@ -460,6 +460,7 @@ sub SaveCache
|
|||
my( $dataDumper ) = new Data::Dumper( [ \%CACHE ] );
|
||||
|
||||
$dataDumper->Terse(1);
|
||||
$dataDumper->Sortkeys(1);
|
||||
|
||||
print $fileHandle $dataDumper->Dump();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue