summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta')
-rw-r--r--lib/Vyatta/Qos/Util.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/Util.pm b/lib/Vyatta/Qos/Util.pm
index afd6aaf..02cbaca 100644
--- a/lib/Vyatta/Qos/Util.pm
+++ b/lib/Vyatta/Qos/Util.pm
@@ -293,7 +293,7 @@ sub ethtoolRate {
# Get rate of real device (ignore vlan)
$dev =~ s/\.[0-9]+$//;
- open( my $ethtool, "sudo /usr/sbin/ethtool $dev 2>/dev/null |" )
+ open( my $ethtool, "/usr/sbin/ethtool $dev 2>/dev/null |" )
or die "ethtool failed: $!\n";
# ethtool produces: