diff options
Diffstat (limited to 'container-core/src/main/sh/find-pid')
-rwxr-xr-x | container-core/src/main/sh/find-pid | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/container-core/src/main/sh/find-pid b/container-core/src/main/sh/find-pid index 88c4c7df2aa..e1c2195c805 100755 --- a/container-core/src/main/sh/find-pid +++ b/container-core/src/main/sh/find-pid @@ -82,7 +82,7 @@ if (( $# != 1 )); then fi readonly config_id=$1 -readonly status=$(vespa-sentinel-cmd list 2>/dev/null | grep "id=\"${config_id}\"") +status=$(vespa-sentinel-cmd list 2>/dev/null | grep "id=\"${config_id}\"") if [ -z "${status}" ]; then echo "No service named '${config_id}'" >&2 exit 1 @@ -97,4 +97,3 @@ if [ -z "$(ps -p ${pid} -o pid=)" ]; then exit 1 fi echo $pid -exit 0 |