Skip to content

Commit c7bdcfe

Browse files
committed
Move where netstat is run. Remove sleep.
1 parent 5a77d19 commit c7bdcfe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

deploy/tasks/buildah-oci-ta.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,11 +399,11 @@ spec:
399399
date >> /app/netstat-output.txt
400400
netstat -a >> /app/netstat-output.txt
401401
echo "--------------------------------------" >> /app/netstat-output.txt
402-
sleep 30
403402
done
404403
EOF
405404
406405
chmod +x /app/capture-netstat.sh
406+
nohup /app/capture-netstat.sh &
407407
408408
if [ "${HERMETIC}" == "true" ]; then
409409
BUILDAH_ARGS+=("--pull=never")
@@ -521,7 +521,6 @@ spec:
521521
ip link set lo up
522522
/app/domain-proxy-client-runner &
523523
client_pid=$!
524-
nohup /app/capture-netstat.sh &
525524
EOF
526525
527526
# With expansion

0 commit comments

Comments
 (0)