Browse Source

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

Fixes #5216
oittaa 1 year ago
parent
commit
6b6faa8129
1 changed files with 1 additions and 1 deletions
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

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