mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-12-22 00:53:50 +01:00
changed sssu subcommands from being singlequoted to doublequoted for windows compatibility
This commit is contained in:
parent
bd4aa7f57d
commit
74cda834ab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user