File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ jobs:
200200 set -ex
201201 # Dump environment variables, extract Fabric_NodeIPOrFQDN
202202 # and save it to a file for reconfiguration test using THIM.
203- cat /proc/*/environ | tr '\000' '\n' | sort -u | grep Fabric_NodeIPOrFQDN > /Fabric_NodeIPOrFQDN
203+ { cat /proc/*/environ 2>/dev/null || true; } | tr '\000' '\n' | sort -u | grep Fabric_NodeIPOrFQDN > /Fabric_NodeIPOrFQDN
204204 echo "::group::Disk usage"
205205 df -kh
206206 echo "::endgroup::"
@@ -281,7 +281,7 @@ jobs:
281281 set -ex
282282 # Dump environment variables, extract Fabric_NodeIPOrFQDN
283283 # and save it to a file for reconfiguration test using THIM.
284- cat /proc/*/environ | tr '\000' '\n' | sort -u | grep Fabric_NodeIPOrFQDN > /Fabric_NodeIPOrFQDN
284+ { cat /proc/*/environ 2>/dev/null || true; } | tr '\000' '\n' | sort -u | grep Fabric_NodeIPOrFQDN > /Fabric_NodeIPOrFQDN
285285 echo "::group::Disk usage"
286286 df -kh
287287 echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments