Commit 1b359166 authored by Olav Kvittem's avatar Olav Kvittem
Browse files

bug - numeric test should be text

parent 93151fda
......@@ -8,7 +8,7 @@ apt-get update
apt-get -y upgrade
package="mp-rude"
version="1.3.9"
version="1.3.10"
#version=$(git describe|perl -p -e 'chomp;s/v([^-]+)(-(\d+)-g.+)?$/\1+\3/;s/\+$//')
......
......@@ -21,7 +21,7 @@ done
# start tcpdump
IF=`ip route get 158.38.62.1 | perl -ne 'print $1 if / dev (\w+) /'`
if test .$IF -ne .; then
if test "$IF" != ""; then
/usr/sbin/tcpdump -i $IF -G 86399 -W 1 -w ${logpath}/icmp-%F.pcap icmp 2> ${logpath}/icmp.log
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment