This commit is contained in:
kirin10000 2020-12-20 00:11:06 +08:00 committed by GitHub
parent 5e6e5c0c6a
commit 288e0ae2c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -212,7 +212,7 @@ check_install_user() {
INSTALL_USER='nobody' INSTALL_USER='nobody'
fi fi
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" echo "the user '$INSTALL_USER' is not effective"
exit 1 exit 1
fi fi