mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 10:51:53 +02:00
fix dash compatibility issue caused by &> redirect symbol
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ VENV_PATH=${VENV_PATH:-"$XDG_DATA_HOME/$VENV_NAME"}
|
|||||||
VENV_BIN=${VENV_PATH}/bin
|
VENV_BIN=${VENV_PATH}/bin
|
||||||
|
|
||||||
if test "`id -u`" -ne "0" ; then
|
if test "`id -u`" -ne "0" ; then
|
||||||
if type sudo &>/dev/null; then
|
if type sudo 1>/dev/null 2>&1; then
|
||||||
SUDO=sudo
|
SUDO=sudo
|
||||||
else
|
else
|
||||||
su_sudo() {
|
su_sudo() {
|
||||||
|
|||||||
Reference in New Issue
Block a user