v2fly / fhs-install-v2ray

Bash script for installing V2Ray in operating systems such as Debian / CentOS / Fedora / openSUSE that support systemd
GNU General Public License v3.0
6.27k stars 1.46k forks source link

The method to avoid the bug "/proc/self/fd/11: No such file or directory". #290

Open SerialCore opened 11 months ago

SerialCore commented 11 months ago

Recently, I found a serious bug that the command

bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)

refused to work due to the error "/proc/self/fd/11: No such file or directory". This happened even for help, version and check options applied. Thus, I thought it should have nothing to do with the script itself, but something magic. After a few attemptings, this bug has been solved by executing the following command

bash -c "$(curl -L https:/github.com/v2fly/fhs-install-v2ray/raw/master/install-release.sh)"

with root of course.

hankji commented 11 months ago

I got the same error

then, I found that : 1 use wget download the install-release.sh 2 bash install-release.sh

it works for me.