diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-12 15:45:39 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-12 15:45:39 -0700 |
commit | 73df0b13144b701c505c60a63dd7757db40ec834 (patch) | |
tree | cd6b8585767a4abb59c75d8684f3a01abf05d2de /templates/traceroute | |
parent | b5ae403ac6e34b887731cbee23979f4fc141b69e (diff) | |
parent | 7d0eb3566db26114a0b57af6491cb7b6844ccea8 (diff) | |
download | vyatta-op-hollywood.tar.gz vyatta-op-hollywood.zip |
Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-op into hollywoodvyatta/3.1.4hollywood
Diffstat (limited to 'templates/traceroute')
-rw-r--r-- | templates/traceroute/node.tag/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/traceroute/node.tag/node.def b/templates/traceroute/node.tag/node.def index 83a3f31..cf60ec4 100644 --- a/templates/traceroute/node.tag/node.def +++ b/templates/traceroute/node.tag/node.def @@ -12,7 +12,7 @@ run: /usr/bin/traceroute $2 echo else - if cat /etc/resolv.conf | grep -q nameserver + if cat /etc/resolv.conf 2> /dev/null | grep -q nameserver then if /usr/bin/host $2 &> /dev/null then |