Commit bb51f5da authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

exit slapreport if no ssh parameter specified

parent 811581b1
......@@ -364,6 +364,9 @@ def run_slapreport():
global log_file
log_file = True
if args[3] == "":
sys.exit(0)
pid_file_path = "%s" % args[0]
#set ssh parameters
ssh_parameters['ip']=args[3]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment