X-Git-Url: http://git.onelab.eu/?p=monitor.git;a=blobdiff_plain;f=RunlevelAgent.py;h=646b0a7a35b34de8333d53ede072f8ded1c25b71;hp=5865b63f74cef440c3d490566395ac80340d9e60;hb=HEAD;hpb=bf3ad61643e7dfb5aeb19f26e18486b3060724b1 diff --git a/RunlevelAgent.py b/RunlevelAgent.py index 5865b63..646b0a7 100644 --- a/RunlevelAgent.py +++ b/RunlevelAgent.py @@ -130,7 +130,7 @@ def main(): # call plc for current boot state? # how long have we been running? if env == "bootmanager": - bs_val = extract_from('/tmp/bm.log', 'Current boot state:') + bs_val = extract_from('/tmp/bm.log', "'Current boot state:'") if len(bs_val) > 0: bs_val = bs_val.split()[-1] ex_val = extract_from('/tmp/bm.log', 'Exception') fs_val = extract_from('/tmp/bm.log', 'mke2fs')