Skip to content

Commit 43b8cf0

Browse files
authored
fix: remove pipefail from standard shell options (coder#3269)
This isn't well-supported by every POSIX shell anyways.
1 parent 73f145e commit 43b8cf0

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy