mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 11:42:18 +08:00
修复包含同名的provider提供者时会错误删除多个提供者的bug
This commit is contained in:
parent
a9a8f0d2bd
commit
1f31bd3c48
|
@ -550,7 +550,7 @@ setproviders(){ #自定义providers
|
||||||
gen_${coretype}_providers $provider_name $provider_url
|
gen_${coretype}_providers $provider_name $provider_url
|
||||||
;;
|
;;
|
||||||
4)
|
4)
|
||||||
sed -i "/$provider_name/d" $CRASHDIR/configs/providers.cfg
|
sed -i "/^$provider_name /d" $CRASHDIR/configs/providers.cfg
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
errornum
|
errornum
|
||||||
|
|
Loading…
Reference in New Issue
Block a user