Revision 0c009cc5

b/tools/ganeti-listrunner
376 376
        print "  %s: uploading files" % hostname
377 377
        upload_dir = UploadFiles(connection, executable,
378 378
                                 filelist, logfile)
379
        command = ("cd %s && ./%s %s" %
380
                   (upload_dir, os.path.basename(executable), exec_args))
379
        command = ("cd %s && ./%s" %
380
                   (upload_dir, os.path.basename(executable)))
381
        if exec_args:
382
          command += " %s" % exec_args
381 383
      print "  %s: executing remote command" % hostname
382 384
      cmd_result = RunRemoteCommand(connection, command, logfile)
383 385
      if cmd_result is True:

Also available in: Unified diff