1
0
mirror of https://github.com/systemd/systemd synced 2024-07-01 07:34:28 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Lennart Poettering
57f55e0945
Merge 39cb39f532 into 6320946411 2024-06-25 22:56:21 -07:00
Mike Yuan
6320946411 import-generator: open up NotifyAccess for varlinkctl
So that it can report errors through VARLINKERROR=.
2024-06-25 23:00:26 +02:00

View File

@ -240,7 +240,8 @@ static int transfer_generate(sd_json_variant *v, size_t c) {
fputs("\n"
"[Service]\n"
"Type=oneshot\n", f);
"Type=oneshot\n"
"NotifyAccess=main\n", f);
_cleanup_free_ char *formatted = NULL;
r = sd_json_variant_format(v, /* flags= */ 0, &formatted);