fix dash compatibility issue caused by &> redirect symbol

This commit is contained in:
Dev & Sec
2015-11-03 22:46:56 +00:00
parent 5c8ad3666b
commit a7de3d59da
+1 -1
View File
@@ -14,7 +14,7 @@ VENV_PATH=${VENV_PATH:-"$XDG_DATA_HOME/$VENV_NAME"}
VENV_BIN=${VENV_PATH}/bin
if test "`id -u`" -ne "0" ; then
if type sudo &>/dev/null; then
if type sudo 1>/dev/null 2>&1; then
SUDO=sudo
else
su_sudo() {