diff --git a/gestion/wifi-update.py b/gestion/wifi-update.py index a7456562..ff130a1d 100755 --- a/gestion/wifi-update.py +++ b/gestion/wifi-update.py @@ -255,11 +255,12 @@ class UpdateFactory(protocol.ServerFactory): for f in delre: os.remove(f) - remove_lock('gen_confs.wifi') if len(result) > 5: # debug for line in file("/var/lock/gestion/gen_confs.wifi"): print "lock pour %s: %s" % (host, line) + remove_lock('gen_confs.wifi') + if len(result) > 5: print "We send the following script to %s :" % host print result return result