Skip to content
Snippets Groups Projects
Commit a072dcd5 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

tidy up a little bit: return 0 when there is no config to be read

parent 7724d0e1
No related branches found
No related tags found
No related merge requests found
......@@ -121,6 +121,7 @@ sub read_config
# print "mon_cfg: ", Dumper ($mon_cfg);
$obj->{mon_cfg}= $mon_cfg;
return 0 unless (defined ($mon_cfg));
$obj->{cfg_fnm}= $cfg_fnm;
# TODO: add mtime for update to work...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment