aboutsummaryrefslogtreecommitdiffstats
path: root/autoscan/autoscan.py
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-07-23 06:00:59 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-07-23 06:00:59 +0200
commit4f37562300df226c7e08c0fd71c0e32931f893d3 (patch)
treedca52bff4a6c71b51a906eeff2b89d57ca6305ba /autoscan/autoscan.py
parentautoscan: improve monitor mode (diff)
downloadlaurent-tools-4f37562300df226c7e08c0fd71c0e32931f893d3.tar.xz
laurent-tools-4f37562300df226c7e08c0fd71c0e32931f893d3.zip
autoscan: fix runnow foreground
Diffstat (limited to 'autoscan/autoscan.py')
-rwxr-xr-xautoscan/autoscan.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoscan/autoscan.py b/autoscan/autoscan.py
index 4736869..c9e8d5d 100755
--- a/autoscan/autoscan.py
+++ b/autoscan/autoscan.py
@@ -286,6 +286,7 @@ if args.runnow and args.foreground:
sys.exit(1)
if not args.runnow and not args.monitor:
args.runnow = True
+if args.runnow:
args.foreground = True
for iface in args.interfaces: