Thanks to visit codestin.com Credit goes to github.com
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 5ee112b commit dde51f1Copy full SHA for dde51f1
provisionersdk/scripts/bootstrap_linux.sh
@@ -1,6 +1,7 @@
1
#!/usr/bin/env sh
2
set -eux pipefail
3
-trap 'echo === Agent script exited with non-zero code. Sleeping 24h to preserve logs... && sleep 86400' EXIT
+# Not all instances of "trap" support ERR SIGNAL_SPEC. See: https://github.com/bmizerany/roundup/issues/25
4
+trap 'echo === Agent script exited with non-zero code. Sleeping 24h to preserve logs... && sleep 86400' EXIT || true
5
BINARY_DIR=$(mktemp -d -t coder.XXXXXX)
6
BINARY_NAME=coder
7
BINARY_URL=${ACCESS_URL}bin/coder-linux-${ARCH}
0 commit comments