mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-06-30 22:40:55 +00:00
Fixed SC2244: Prefer explicit -n to check non-empty string.
This commit is contained in:
parent
a5ebd9c6a6
commit
0c82b0f6a9
@ -145,7 +145,7 @@ if [ -z "${PUBLIC_IPV6:-}" ]; then
|
||||
"${DEFAULT_PUBLIC_IPV6:-}" \
|
||||
PUBLIC_IPV6
|
||||
|
||||
if [ ! "$PUBLIC_IPV6_EXITCODE" ]; then
|
||||
if [ ! -n "$PUBLIC_IPV6_EXITCODE" ]; then
|
||||
# user hit ESC/cancel
|
||||
exit
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user