From e21999c5c73081dc686de913ea28ab2062afce3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Thu, 12 Dec 2019 11:03:23 +0100 Subject: [PATCH] catch json w/o space #408 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- helper_lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper_lib.sh b/helper_lib.sh index a38d653..9ccbc7f 100644 --- a/helper_lib.sh +++ b/helper_lib.sh @@ -95,7 +95,7 @@ get_docker_configuration_file_args() { CONFIG_FILE='/dev/null' fi - grep "$OPTION" "$CONFIG_FILE" | sed 's/.*: //g' | tr -d \", + grep "$OPTION" "$CONFIG_FILE" | sed 's/.*://g' | tr -d '" ', } get_systemd_service_file() {