cloud-init: fix quoting to not fail if cloud-init isn't present
authorMichael Prokop <mika@grml.org>
Fri, 5 Jun 2020 11:20:45 +0000 (13:20 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 5 Jun 2020 11:20:45 +0000 (13:20 +0200)
quickconfig/003-cloud-init.sh

index 2826ef0..fbf3a37 100644 (file)
@@ -1,5 +1,5 @@
 # cloud-init not installed/present
-if ! [ -x $(which cloud-init) ] ; then
+if ! [ -x "$(which cloud-init)" ] ; then
   return 0
 fi