Skip to content

Commit d502639

Browse files
Revert "Add pipefail safeuard"
This reverts commit cab4f5d. Reverting this as piping to true won't work correctly anymore and this is a pattern we have used in places
1 parent c7c3cea commit d502639

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

php/scripts/configure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -eo pipefail
2+
set -e
33
# If stuff hasn't been set
44
if [ -z "$SITE_NAME" ]; then
55
export SITE_NAME=site_name

php/scripts/healthcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# --slow-requests=n
4040
#
4141

42-
set -euo pipefail
42+
set -eu
4343

4444
OPTIND=1 # Reset getopt in case it has been used previously in the shell
4545

php/scripts/start-cron.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -eo pipefail
2+
set -e
33
source /configure.sh
44

55
cp -R /src/. /src-shared/
@@ -11,4 +11,4 @@ if [ -n "$EXPOSE_CLASSIC" ]; then
1111
fi
1212

1313
echo "Starting Cron"
14-
/usr/sbin/crond -f -c /etc/cron
14+
/usr/sbin/crond -f -c /etc/cron

php/scripts/start-worker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -eo pipefail
2+
set -e
33
source /configure.sh
44

55
cp -R /src/. /src-shared/
@@ -19,4 +19,4 @@ if [ -n "$EXPOSE_CLASSIC" ]; then
1919
ln -s /src-shared/ /src
2020
fi
2121

22-
php artisan queue:work --timeout=$WORKER_TIMEOUT --tries=$WORKER_TRIES
22+
php artisan queue:work --timeout=$WORKER_TIMEOUT --tries=$WORKER_TRIES

php/scripts/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -eo pipefail
2+
set -e
33
source /configure.sh
44

55
cp -R /src/. /src-shared/
@@ -10,4 +10,4 @@ if [ -n "$EXPOSE_CLASSIC" ]; then
1010
ln -s /src-shared/ /src
1111
fi
1212

13-
/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php/current/php-fpm.conf
13+
/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php/current/php-fpm.conf

0 commit comments

Comments
 (0)