mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 16:14:44 +02:00
Use ${foo+x} not ${foo:+x} (#3833)
This commit is contained in:
committed by
Peter Eckersley
parent
ec0cd4d538
commit
0289457a93
@@ -110,7 +110,7 @@ su_sudo() {
|
||||
|
||||
SUDO_ENV=""
|
||||
export CERTBOT_AUTO="$0"
|
||||
if [ -n "${LE_AUTO_SUDO:+x}" ]; then
|
||||
if [ -n "${LE_AUTO_SUDO+x}" ]; then
|
||||
case "$LE_AUTO_SUDO" in
|
||||
su_sudo|su)
|
||||
SUDO=su_sudo
|
||||
|
||||
@@ -110,7 +110,7 @@ su_sudo() {
|
||||
|
||||
SUDO_ENV=""
|
||||
export CERTBOT_AUTO="$0"
|
||||
if [ -n "${LE_AUTO_SUDO:+x}" ]; then
|
||||
if [ -n "${LE_AUTO_SUDO+x}" ]; then
|
||||
case "$LE_AUTO_SUDO" in
|
||||
su_sudo|su)
|
||||
SUDO=su_sudo
|
||||
|
||||
Reference in New Issue
Block a user