catch json w/o space #408

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2019-12-12 11:03:23 +01:00
parent c35d71f533
commit e21999c5c7

View file

@ -95,7 +95,7 @@ get_docker_configuration_file_args() {
CONFIG_FILE='/dev/null' CONFIG_FILE='/dev/null'
fi fi
grep "$OPTION" "$CONFIG_FILE" | sed 's/.*: //g' | tr -d \", grep "$OPTION" "$CONFIG_FILE" | sed 's/.*://g' | tr -d '" ',
} }
get_systemd_service_file() { get_systemd_service_file() {