From 35e6ba5c7bca4409f4ff16128e34c88e64e3f4e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Sun, 2 Jun 2019 10:42:09 +0200 Subject: [PATCH] Quotes --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 7474115..33ccac4 100755 --- a/run.sh +++ b/run.sh @@ -14,7 +14,7 @@ containerExists() { docker ps -aqf name="$1" --format '{{.Names}}' | grep -Fxq " containerIsRunning() { docker ps -qf name="$1" --format '{{.Names}}' | grep -Fxq "$1"; } if ! imageExists "${IMAGE_NAME}"; then - >&2 printf -- '%s\n' "${IMAGE_NAME} image doesn't exist!" + >&2 printf -- '%s\n' "\"${IMAGE_NAME}\" image doesn't exist!" exit 1 fi