修复包含同名的provider提供者时会错误删除多个提供者的bug

This commit is contained in:
juewuy 2024-02-17 19:42:18 +08:00
parent a9a8f0d2bd
commit 1f31bd3c48

View File

@ -550,7 +550,7 @@ setproviders(){ #自定义providers
gen_${coretype}_providers $provider_name $provider_url
;;
4)
sed -i "/$provider_name/d" $CRASHDIR/configs/providers.cfg
sed -i "/^$provider_name /d" $CRASHDIR/configs/providers.cfg
;;
*)
errornum