We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fcde9f commit 3a08208Copy full SHA for 3a08208
tools/testing/selftests/net/forwarding/lib.sh
@@ -914,14 +914,14 @@ sysctl_set()
914
local value=$1; shift
915
916
SYSCTL_ORIG[$key]=$(sysctl -n $key)
917
- sysctl -qw $key=$value
+ sysctl -qw $key="$value"
918
}
919
920
sysctl_restore()
921
{
922
local key=$1; shift
923
924
- sysctl -qw $key=${SYSCTL_ORIG["$key"]}
+ sysctl -qw $key="${SYSCTL_ORIG[$key]}"
925
926
927
forwarding_enable()
0 commit comments