Remove xy_run() last parameter

This commit is contained in:
Aoran Zeng
2024-12-14 09:14:11 +08:00
parent 252a64924f
commit be3982bbff
10 changed files with 25 additions and 18 deletions

View File

@@ -97,7 +97,7 @@ wr_dockerhub_setsrc (char *option)
source.url,
"\")' ",
WARE_DockerHub_SourceConfig);
char *ret = xy_run(cmd, 0, NULL);
char *ret = xy_run(cmd, 0);
if (ret && !xy_streql(ret, "null\n"))
{
chsrc_note2 ("已存在源,无需重复添加");