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:
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to