Printing the result is useful.
This commit is contained in:
parent
3b967c8066
commit
b6d0ceae97
1
nmgrep
1
nmgrep
@ -24,6 +24,7 @@ cd /var/log/netmonitor
|
||||
for logfile in mappings.*; do
|
||||
result=$(find_host "$hostname" "$logfile")
|
||||
if ! [ -z "$result" ]; then
|
||||
echo "$result"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user