Skip to content

Commit 5f579ad

Browse files
committed
bug: remove -o from pipefail options
This isn't well-supported by every POSIX shell anyways.
1 parent 73f145e commit 5f579ad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/templates/gcp-linux/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ resource "google_compute_instance" "dev" {
7575
# it.
7676
metadata_startup_script = <<EOMETA
7777
#!/usr/bin/env sh
78-
set -eux pipefail
78+
set -eux
7979
8080
mkdir /root || true
8181
cat <<'EOCODER' > /root/coder_agent.sh

provisionersdk/scripts/bootstrap_darwin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env sh
2-
set -eux pipefail
2+
set -eux
33
# Sleep for a good long while before exiting.
44
# This is to allow folks to exec into a failed workspace and poke around to
55
# troubleshoot.

provisionersdk/scripts/bootstrap_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env sh
2-
set -eux pipefail
2+
set -eux
33
# Sleep for a good long while before exiting.
44
# This is to allow folks to exec into a failed workspace and poke around to
55
# troubleshoot.

0 commit comments

Comments
 (0)