From 2e81234df15e9fa4be139585562214f45fd01fb7 Mon Sep 17 00:00:00 2001 From: Maximilian Wilhelm Date: Wed, 23 Sep 2020 01:24:56 +0200 Subject: [PATCH] ethtool: Call 'env' instead of 'set' to get environment 'set' will output environment variables with ' around them which will confuse ethtool. Signed-off-by: Maximilian Wilhelm --- executor-scripts/linux/ethtool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executor-scripts/linux/ethtool b/executor-scripts/linux/ethtool index 55ad32a..ef0dde9 100755 --- a/executor-scripts/linux/ethtool +++ b/executor-scripts/linux/ethtool @@ -3,7 +3,7 @@ set -e # gather params for a given prefix, based on executor-scripts/linux/tunnel. gather_params() { - set | sed -E " + env | sed -E " s/^IF_${1}_([A-Z0-9_]+)=(.+)/\1\n\2/ ta d