Show any errors from tshark/tcpdump in error log

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-10-31 10:15:01 +01:00
parent aad95082fb
commit ef00787c5c

View File

@ -6,8 +6,8 @@ MSG="kilroy"
/sbin/ifconfig -a
tshark -Qni lo -w ${CAP} port ${PORT} 2>/dev/null &
#tcpdump -qlni lo -w ${CAP} port ${PORT} 2>/dev/null &
tshark -Qni lo -w ${CAP} port ${PORT} &
#tcpdump -qlni lo -w ${CAP} port ${PORT} &
PID="$!"
sleep 5
ps fax |grep -A3 tshark