wireless-net/trunk/sbin/gen-wlan-files.py
arekm
cvs at pld-linux.org
Wed Mar 22 21:32:43 CET 2006
Author: arekm
Date: Wed Mar 22 21:32:39 2006
New Revision: 7282
Modified:
wireless-net/trunk/sbin/gen-wlan-files.py
Log:
run() returns val from os.system().
Modified: wireless-net/trunk/sbin/gen-wlan-files.py
==============================================================================
--- wireless-net/trunk/sbin/gen-wlan-files.py (original)
+++ wireless-net/trunk/sbin/gen-wlan-files.py Wed Mar 22 21:32:39 2006
@@ -25,6 +25,7 @@
ret = os.system(cmd)
if failcheck and ret != 0:
print "WARNING: Command [%s] failed!" % (cmd)
+ return ret
is_p2p = run("iptables -m p2p --help > /dev/null 2>&1", False)
if is_p2p == 0:
More information about the pld-cvs-commit
mailing list