home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix crash on scan failure
[khome.git]
/
home
/
bin
/
arp-recon
diff --git
a/home/bin/arp-recon
b/home/bin/arp-recon
index
e53d2ea
..
c96192f
100755
(executable)
--- a/
home/bin/arp-recon
+++ b/
home/bin/arp-recon
@@
-49,7
+49,9
@@
log() {
while :; do
debug '(>) scan'
- sudo arp-scan --localnet;
+ if ! sudo arp-scan --localnet; then
+ error 'scan failed'
+ fi
debug '(.) scan'
sleep "$interval";
done \
This page took
0.035017 seconds
and
4
git commands to generate.