Commits

Craig Swank committed de99df1

made gadgets ui exit when a --command is sent

Comments (0)

Files changed (2)

+
 CHANGES
 
 
     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