Merge pull request #5217 from oittaa/patch-2

_checkSudo: [ -z "__INTERACTIVE" ] should be [ -z "$__INTERACTIVE" ]
This commit is contained in:
neil 2024-07-23 09:05:37 +08:00 committed by GitHub
commit 5cded5b53e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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