aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"