Fixed SC2244: Prefer explicit -n to check non-empty string.

This commit is contained in:
Teal Dulcet 2023-12-21 08:49:20 -08:00 committed by Joshua Tauberer
parent ec497efa69
commit c7faccf1fa
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ if [ -z "${PUBLIC_IPV6:-}" ]; then
"${DEFAULT_PUBLIC_IPV6:-}" \ "${DEFAULT_PUBLIC_IPV6:-}" \
PUBLIC_IPV6 PUBLIC_IPV6
if [ ! "$PUBLIC_IPV6_EXITCODE" ]; then if [ ! -n "$PUBLIC_IPV6_EXITCODE" ]; then
# user hit ESC/cancel # user hit ESC/cancel
exit exit
fi fi