Skip to content

Commit

Permalink
fix provider error
Browse files Browse the repository at this point in the history
  • Loading branch information
rebecca554owen committed Jan 24, 2024
1 parent d004bd7 commit 67d3755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtproxy-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 67d3755

Please sign in to comment.