From 10faf16edf9e1d672f597179ff6fb098a4e4a41e Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Fri, 4 Apr 2025 22:01:11 +1100 Subject: [PATCH] Potentially uninitialised variable. --- util/env-bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/env-bootstrap.sh b/util/env-bootstrap.sh index 1e6557df532..b9137f2d08b 100755 --- a/util/env-bootstrap.sh +++ b/util/env-bootstrap.sh @@ -106,7 +106,7 @@ __EOT__ } nsudo() { - [[ ${EUID} -ne 0 ]] && echo "sudo" + [[ ${EUID:-} -ne 0 ]] && echo "sudo" true }