X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Fbin%2Farp-recon;fp=home%2Fbin%2Farp-recon;h=c96192ffc46d3e21e7b606fae677d1dec541f5d8;hb=44be784b13f5e7535b1a04152a2a3974fe5efc80;hp=e53d2ea11c57f025c485d292e97632e3c08ea149;hpb=83b73f79e224acea204636f6d51c6324e50ac868;p=khome.git diff --git a/home/bin/arp-recon b/home/bin/arp-recon index e53d2ea..c96192f 100755 --- 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 \