mirror of https://github.com/v2ray/v2ray-core
commit
9ae3a68c82
|
@ -206,7 +206,7 @@ startV2ray(){
|
||||||
copyFile() {
|
copyFile() {
|
||||||
NAME=$1
|
NAME=$1
|
||||||
MANDATE=$2
|
MANDATE=$2
|
||||||
ERROR=`cp "/tmp/v2ray/v2ray-${NEW_VER}-linux-${VDIS}/${NAME}" "/usr/bin/v2ray/${NAME}"`
|
ERROR=`cp "/tmp/v2ray/v2ray-${NEW_VER}-linux-${VDIS}/${NAME}" "/usr/bin/v2ray/${NAME}" 2>&1`
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
colorEcho ${YELLOW} "${ERROR}"
|
colorEcho ${YELLOW} "${ERROR}"
|
||||||
if [ "$MANDATE" = true ]; then
|
if [ "$MANDATE" = true ]; then
|
||||||
|
|
Loading…
Reference in New Issue