This commit is contained in:
parent
873013363c
commit
e3cb4163a9
1 changed files with 1 additions and 1 deletions
2
nagios
2
nagios
|
@ -118,7 +118,7 @@ def which_cmdfile():
|
|||
if os.path.exists(path):
|
||||
for line in open(path):
|
||||
if line.startswith('command_file'):
|
||||
return line.partition('=')[2].strip()
|
||||
return line.split('=')[1].strip()
|
||||
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in a new issue