From cda39ab9e16cb6e3d0979b1727792bd7e55917ec Mon Sep 17 00:00:00 2001 From: Matthew McGinn Date: Mon, 2 Sep 2019 18:39:13 +0200 Subject: [PATCH] entry.sh: conform to shellcheck syntax Change-type: patch Signed-off-by: Matthew McGinn --- entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry.sh b/entry.sh index f496054e..166f5003 100755 --- a/entry.sh +++ b/entry.sh @@ -46,7 +46,7 @@ fi export DBUS_SYSTEM_BUS_ADDRESS="unix:path=/mnt/root/run/dbus/system_bus_socket" # Include self-signed CAs, should they exist -if [ ! -z "${BALENA_ROOT_CA}" ]; then +if [ -n "${BALENA_ROOT_CA}" ]; then if [ ! -e '/etc/ssl/certs/balenaRootCA.pem' ]; then mkdir -p /usr/local/share/ca-certificates echo "${BALENA_ROOT_CA}" > /usr/local/share/ca-certificates/balenaRootCA.crt