aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-04-07 07:48:56 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-04-07 07:48:56 -0500
commit73c862b7920c7d514209d77c584829da28bdd79d (patch)
tree5a693d428f2f9e32d84cecb0c71e4b695462bc7f
parent46e67badd2d5edd4a6907f896aafecdafcc11211 (diff)
fix typo in ethtool.sh
This was causing the ethtool interface to not work. X-Gentoo-Bug: 360481 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=360481
-rw-r--r--net/ethtool.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool.sh b/net/ethtool.sh
index 8ea1cde7..404a3dc3 100644
--- a/net/ethtool.sh
+++ b/net/ethtool.sh
@@ -37,7 +37,7 @@ ethtool_pre_start() {
IFS="${OIFS}"
local args_pretty="$(_trim "${p}")"
# Do nothing if empty
- [ -z "${args_prety}" ] && continue
+ [ -z "${args_pretty}" ] && continue
args_pretty="--${opt} $IFACE ${args_pretty}"
args="--${opt} $IFACE ${args}"
ebegin "ethtool ${args_pretty}"