diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-07-09 21:32:24 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-07-13 11:12:00 +0200 |
commit | 9ef648cca140632184d11c34d460e2fce066cddd (patch) | |
tree | 859cd53b14d561d30127ee896615dfe8a047d0e3 /src/fstab-generator | |
parent | Introduce RET_GATHER and use it in src/shared/ (diff) | |
download | systemd-9ef648cca140632184d11c34d460e2fce066cddd.tar.xz systemd-9ef648cca140632184d11c34d460e2fce066cddd.zip |
various: use RET_GATHER
No functional change indentended.
Diffstat (limited to 'src/fstab-generator')
-rw-r--r-- | src/fstab-generator/fstab-generator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index 660a98ab92..903b74c45f 100644 --- a/src/fstab-generator/fstab-generator.c +++ b/src/fstab-generator/fstab-generator.c @@ -736,8 +736,7 @@ static int do_daemon_reload(void) { k = bus_call_method(bus, bus_systemd_mgr, "StartUnit", &error, NULL, "ss", unit, "replace"); if (k < 0) { log_error_errno(k, "Failed to (re)start %s: %s", unit, bus_error_message(&error, r)); - if (r == 0) - r = k; + RET_GATHER(r, k); } } |