diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-08 12:04:39 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-08 12:04:39 +0200 |
commit | 318f8a30ecc05858f25aba05e3761335f56354aa (patch) | |
tree | 2450b64fb043961803c4188f97a665b7415fffeb /container-core | |
parent | 6704543d37a2f7f7b6f471fe66398a556dc7359c (diff) |
Ensure find-pid script fails gracefully with error message
Diffstat (limited to 'container-core')
-rwxr-xr-x | container-core/src/main/sh/find-pid | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-core/src/main/sh/find-pid b/container-core/src/main/sh/find-pid index 4db6562db1b..57393140e0b 100755 --- a/container-core/src/main/sh/find-pid +++ b/container-core/src/main/sh/find-pid @@ -74,7 +74,7 @@ findhost # END environment bootstrap section -set -euo pipefail +set -uo pipefail if (( $# != 1 )); then echo "Usage: $0 <service-name-or-config-id>" >&2 |