fix: remove pipefail from standard shell options (#3269)

This isn't well-supported by every POSIX shell anyways.
This commit is contained in:
Denbeigh Stevens
2022-07-28 18:50:04 +00:00
committed by GitHub
parent 73f145e45f
commit 43b8cf04f0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ resource "google_compute_instance" "dev" {
# it.
metadata_startup_script = <<EOMETA
#!/usr/bin/env sh
set -eux pipefail
set -eux
mkdir /root || true
cat <<'EOCODER' > /root/coder_agent.sh
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
set -eux pipefail
set -eux
# Sleep for a good long while before exiting.
# This is to allow folks to exec into a failed workspace and poke around to
# troubleshoot.
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
set -eux pipefail
set -eux
# Sleep for a good long while before exiting.
# This is to allow folks to exec into a failed workspace and poke around to
# troubleshoot.