_checkSudo: [ -z "__INTERACTIVE" ] should be [ -z "$__INTERACTIVE" ]

Fixes #5216
pull/5217/head
oittaa 2024-07-20 13:31:53 +02:00 committed by GitHub
parent 11aef82993
commit 6b6faa8129
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -7139,7 +7139,7 @@ _processAccountConf() {
}
_checkSudo() {
if [ -z "__INTERACTIVE" ]; then
if [ -z "$__INTERACTIVE" ]; then
#don't check if it's not in an interactive shell
return 0
fi