summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-12 15:45:39 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-12 15:45:39 -0700
commit73df0b13144b701c505c60a63dd7757db40ec834 (patch)
treecd6b8585767a4abb59c75d8684f3a01abf05d2de /templates
parentb5ae403ac6e34b887731cbee23979f4fc141b69e (diff)
parent7d0eb3566db26114a0b57af6491cb7b6844ccea8 (diff)
downloadvyatta-op-vyatta/3.1.4.tar.gz
vyatta-op-vyatta/3.1.4.zip
Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-op into hollywoodvyatta/3.1.4hollywood
Diffstat (limited to 'templates')
-rw-r--r--templates/traceroute/node.tag/node.def2
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