From 3087575877b3a9c4c2c8497d95fb58a09fde0e5e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 24 Oct 2021 05:08:26 -0400 Subject: [PATCH] fix: silence config-options error when there are no config-options set --- common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common-functions b/common-functions index 041f3ef..ee756c8 100755 --- a/common-functions +++ b/common-functions @@ -451,7 +451,7 @@ service_info() { local flag_map=( "--config-dir: ${SERVICE_ROOT}/${PLUGIN_CONFIG_SUFFIX}" - "--config-options: $(cat "$SERVICE_ROOT/CONFIG_OPTIONS")" + "--config-options: $(cat "$SERVICE_ROOT/CONFIG_OPTIONS" 2>/dev/null || true)" "--data-dir: ${SERVICE_ROOT}/data" "--dsn: ${SERVICE_URL}" "--exposed-ports: $(service_exposed_ports "$SERVICE")"