aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/iproute2.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/iproute2.sh b/net/iproute2.sh
index 1dff3fe..9ef704d 100644
--- a/net/iproute2.sh
+++ b/net/iproute2.sh
@@ -272,8 +272,8 @@ _add_route()
error|fatal) msgfunc=eerror rc=1;;
*) msgfunc=eerror rc=1 ; eerror "Unknown error behavior: $eh_behavior" ;;
esac
- eval $msgfunc "Route '$cmd' already existed."
- eval $msgfunc \"$(ip $family route show $cmd dev "${IFACE}" 2>&1)\"
+ eval $msgfunc "Route '$cmd_nometric' already existed:"
+ eval $msgfunc \"$(ip $family route show ${cmd_nometric} dev "${IFACE}" 2>&1)\"
else
: # TODO: Handle other errors
fi