home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83b73f7
)
Fix crash on scan failure
author
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 7 Oct 2021 23:04:30 +0000
(19:04 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 7 Oct 2021 23:04:30 +0000
(19:04 -0400)
home/bin/arp-recon
patch
|
blob
|
blame
|
history
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.021205 seconds
and
4
git commands to generate.