Skip to content

Commit

Permalink
Merge pull request #41 from rebecca554owen/patch-1
Browse files Browse the repository at this point in the history
fix provider error
  • Loading branch information
ellermister committed Jan 24, 2024
2 parents d004bd7 + 67d3755 commit e4019a5
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 e4019a5

Please sign in to comment.