mirror of
https://github.com/RubyMetric/chsrc
synced 2026-03-04 04:30:28 +08:00
Remove xy_run() last parameter
This commit is contained in:
@@ -38,7 +38,7 @@ os_rockylinux_setsrc (char *option)
|
||||
chsrc_yield_source_and_confirm (os_rockylinux);
|
||||
|
||||
|
||||
char *version_str = xy_run ("sed -nr 's/ROCKY_SUPPORT_PRODUCT_VERSION=\"(.*)\"/\\1/p' " ETC_OS_RELEASE, 0, NULL);
|
||||
char *version_str = xy_run ("sed -nr 's/ROCKY_SUPPORT_PRODUCT_VERSION=\"(.*)\"/\\1/p' " ETC_OS_RELEASE, 0);
|
||||
version_str = xy_str_delete_suffix (version_str, "\n");
|
||||
double version = atof (version_str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user