From 9b976b577df4fe25e8affc3d54c0936f96bc0c7f Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 13 Jan 2020 10:59:40 +0100 Subject: [PATCH] components/9990-main.sh: Fix shellcheck issue SC2236 shellcheck complains about SC2236: Use -n instead of ! -z. Signed-off-by: Benjamin Drung --- components/9990-main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/9990-main.sh b/components/9990-main.sh index 3fbe9bc..b50952f 100755 --- a/components/9990-main.sh +++ b/components/9990-main.sh @@ -33,7 +33,7 @@ Live () # Needed here too because some things (*cough* udev *cough*) # changes the timeout - if [ ! -z "${NETBOOT}" ] || [ ! -z "${FETCH}" ] || [ ! -z "${HTTPFS}" ] || [ ! -z "${FTPFS}" ] + if [ -n "${NETBOOT}" ] || [ -n "${FETCH}" ] || [ -n "${HTTPFS}" ] || [ -n "${FTPFS}" ] then if do_netmount then -- 2.1.4