From 0852dfe33d160d42bfad8532d755ba52c8be6106 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 5 Jun 2020 13:20:45 +0200 Subject: [PATCH] cloud-init: fix quoting to not fail if cloud-init isn't present --- quickconfig/003-cloud-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickconfig/003-cloud-init.sh b/quickconfig/003-cloud-init.sh index 2826ef0..fbf3a37 100644 --- a/quickconfig/003-cloud-init.sh +++ b/quickconfig/003-cloud-init.sh @@ -1,5 +1,5 @@ # cloud-init not installed/present -if ! [ -x $(which cloud-init) ] ; then +if ! [ -x "$(which cloud-init)" ] ; then return 0 fi -- 2.1.4