mirror of
https://github.com/samuelhbne/proxy-xray.git
synced 2025-12-16 20:27:06 +03:00
XRAY to XRAYCFG
This commit is contained in:
6
run.sh
6
run.sh
@@ -50,7 +50,7 @@ while true ; do
|
||||
echo "${subcmd} Config failed: $DIR/proxy-${subcmd}.sh $2"
|
||||
exit 2
|
||||
else
|
||||
XRAY=1
|
||||
XRAYCFG=1
|
||||
fi
|
||||
shift 2
|
||||
;;
|
||||
@@ -118,7 +118,7 @@ while true ; do
|
||||
;;
|
||||
-i|--stdin)
|
||||
STDINCONF=1
|
||||
XRAY=1
|
||||
XRAYCFG=1
|
||||
shift 1
|
||||
;;
|
||||
-d|--debug)
|
||||
@@ -136,7 +136,7 @@ while true ; do
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "${XRAY}" != "1" ]; then
|
||||
if [ "${XRAYCFG}" != "1" ]; then
|
||||
echo "Missing Xray connection option"
|
||||
usage
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user