Skip to content

Commit 255afab

Browse files
kylecarbsmafredri
andauthored
Update provisionersdk/agent.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parent b3c8a87 commit 255afab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provisionersdk/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Start-Process -FilePath $env:TEMP\sshd.exe -ArgumentList "agent" -PassThru`
1818

1919
linuxScript = `#!/usr/bin/env sh
2020
set -eux pipefail
21-
trap 'echo === Agent script exited with non-zero code. Sleeping infinitely to preserve logs... && sleep 86400' EXIT
21+
trap 'echo === Agent script exited with non-zero code. Sleeping 24h to preserve logs... && sleep 86400' EXIT
2222
BINARY_DIR=$(mktemp -d -t coder.XXXXXX)
2323
BINARY_NAME=coder
2424
BINARY_URL=${ACCESS_URL}bin/coder-linux-${ARCH}

0 commit comments

Comments
 (0)