~benji/charms/precise/juju-gui/bug-1284088

« back to all changes in this revision

Viewing changes to scripts/update-nrpe.py

  • Committer: Benji York
  • Date: 2014-03-19 19:36:37 UTC
  • Revision ID: benji@benjiyork.com-20140319193637-vh9rhvsnzmt3xzan
fix bugs found in review

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
if __name__ == '__main__':
24
24
    hook_name = sys.argv[0]
25
 
    remove_nrpe_check()
26
25
    if 'departed' in hook_name or 'broken' in hook_name:
27
26
        remove_nrpe_check()
28
27
    else: