mirror of
https://github.com/XTLS/Xray-install.git
synced 2024-11-21 14:51:27 +00:00
Fix (#7)
This commit is contained in:
parent
5e6e5c0c6a
commit
288e0ae2c2
|
@ -212,7 +212,7 @@ check_install_user() {
|
|||
INSTALL_USER='nobody'
|
||||
fi
|
||||
fi
|
||||
if ! id $INSTALL_USER 2&>1 >/dev/null; then
|
||||
if ! id $INSTALL_USER > /dev/null 2>&1; then
|
||||
echo "the user '$INSTALL_USER' is not effective"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue