mirror of
https://github.com/systemd/systemd.git
synced 2025-03-13 00:58:27 +03:00
import-generator: open up NotifyAccess for varlinkctl
So that it can report errors through VARLINKERROR=.
This commit is contained in:
parent
b6a9ad2c62
commit
6320946411
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user