core: rework machine-id-setup.c to use the calls from id128-util.[ch]
This allows us to delete quite a bit of code and make the whole thing a lot shorter.
This commit is contained in:
@@ -110,7 +110,7 @@ int main(int argc, char *argv[]) {
|
||||
if (arg_commit)
|
||||
r = machine_id_commit(arg_root);
|
||||
else
|
||||
r = machine_id_setup(arg_root, SD_ID128_NULL);
|
||||
r = machine_id_setup(arg_root, SD_ID128_NULL, NULL);
|
||||
|
||||
finish:
|
||||
free(arg_root);
|
||||
|
||||
Reference in New Issue
Block a user