Following the procedure for running Xray containerized fails on sudo ./prepareHostEnv.sh because the .env file has CRLF (Windows/DOS) line endings.
sudo ./prepareHostEnv.sh
./.env: line 5: $'\r': command not found
./.env: line 8: $'\r': command not found
./.env: line 13: $'\r': command not found
./.env: line 16: $'\r': command not found
./.env: line 22: $'\r': command not found
./.env: line 24: $'\r': command not found
/xrayng needed ownerships on /data
chown: invalid user: ‘1035\r:1035\r’
failedo 1035g ownership of /data
Line endings got converted in this PR.
EDIT: tested on CentOS Linux release 7.5.1804 (Core)
Following the procedure for running Xray containerized fails on
sudo ./prepareHostEnv.sh
because the.env
file has CRLF (Windows/DOS) line endings.Line endings got converted in this PR.
EDIT: tested on
CentOS Linux release 7.5.1804 (Core)