From: Benjamin Drung Date: Mon, 13 Jan 2020 09:59:40 +0000 (+0100) Subject: components/9990-main.sh: Fix shellcheck issue SC2236 X-Git-Tag: debian/1%20210122~9^2 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=9b976b577df4fe25e8affc3d54c0936f96bc0c7f components/9990-main.sh: Fix shellcheck issue SC2236 shellcheck complains about SC2236: Use -n instead of ! -z. Signed-off-by: Benjamin Drung --- 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