From 67d37552f40e914e7a7f8fe060778b27b20547c1 Mon Sep 17 00:00:00 2001 From: rebecca554owen Date: Wed, 24 Jan 2024 18:34:43 +0800 Subject: [PATCH] fix provider error --- mtproxy-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtproxy-entrypoint.sh b/mtproxy-entrypoint.sh index 85d9fd8..7d458aa 100644 --- a/mtproxy-entrypoint.sh +++ b/mtproxy-entrypoint.sh @@ -25,7 +25,7 @@ set_config(){ sed -i 's/domain="[0-9A-z\.\-]*"/domain="'$domain'"/' $mtp_config fi if [ "$provider" ] && [[ "$provider" =~ ^[1-2]$ ]]; then - sed -i 's/provider=[0-9]\+/cat /='$provider'/' $mtp_config + sed -i 's/provider=[0-9]\+/provider="'$provider'"/' $mtp_config fi }