1. Craig Swank
  2. gadgets

Commits

Craig Swank  committed de99df1

made gadgets ui exit when a --command is sent

  • Participants
  • Parent commits 9b6986e
  • Branches master

Comments (0)

Files changed (2)

File CHANGES.txt

View file
  • Ignore whitespace
+
 CHANGES
 
 

File gadgets/ui/ui.py

View file
  • Ignore whitespace
     if args.command:
         sockets = Sockets(addresses)
         sockets.send(args.command)
+        time.sleep(0.5)
         sockets.close()
+        return
     elif os.path.exists(config_path):
        config = imp.load_source(args.host, config_path)
        locations = config.locations