We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 744afcf commit a3c1368Copy full SHA for a3c1368
cgroup-limit/test.sh
@@ -33,7 +33,7 @@ if [ "$UID" != "0" ]; then
33
fi
34
35
# Pass DOTNET_ROOT to support testing against a dotnet tarball.
36
-SYSTEMD_RUN="$SYSTEMD_RUN -E DOTNET_ROOT=$DOTNET_ROOT"
+SYSTEMD_RUN="$SYSTEMD_RUN -E DOTNET_ROOT=${DOTNET_ROOT:-}"
37
# Unset DOTNET_PROCESSOR_COUNT so .NET won't return its value instead of the cgroup CPU limit.
38
SYSTEMD_RUN="$SYSTEMD_RUN -E DOTNET_PROCESSOR_COUNT="
39
0 commit comments