1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 02:13:44 +01:00

check_hpacucli.py - fix typo in hpacucli command

This commit is contained in:
Pall Sigurdsson 2013-05-27 17:45:44 +00:00
parent 5eb8ce9199
commit 91634a76b7

View File

@ -164,7 +164,7 @@ def run_hpacucli(run_type='controllers', controller=None):
else:
end()
return
command = command % (subcommand, identifier)
command = command % (identifier, subcommand)
debug(command)
if sudo:
command = "sudo " + command