1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 10:23:46 +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: else:
end() end()
return return
command = command % (subcommand, identifier) command = command % (identifier, subcommand)
debug(command) debug(command)
if sudo: if sudo:
command = "sudo " + command command = "sudo " + command