1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-21 18:03:45 +01:00

changed sssu subcommands from being singlequoted to doublequoted for windows compatibility

This commit is contained in:
Pall Sigurdsson 2012-07-17 20:30:55 +00:00
parent bd4aa7f57d
commit 74cda834ab

View File

@ -207,7 +207,7 @@ def run_sssu(system=None, command="ls system full"):
commands.append(command)
commandstring = "sssu "
for i in commands: commandstring = commandstring + "'%s' " % i
for i in commands: commandstring = commandstring + '"%s" ' % i
global server_side_troubleshooting
if server_side_troubleshooting == True:
commandstring = 'cat "debug/%s"' % command