diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-05-31 07:39:59 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-06-16 10:12:58 +0200 |
commit | 2e95ec430d1d295404c517aee832ab5097f36e1c (patch) | |
tree | 39af6706eafa9ab861148e41d7ed73d33e485d3f /src/libelogind/sd-daemon/sd-daemon.c | |
parent | 73ca6c4e5ef43b820dd6e643fe861b11cdb70a4c (diff) |
Prep v230: Apply missing upstream fixes and updates (5/8) src/libelogind.
Diffstat (limited to 'src/libelogind/sd-daemon/sd-daemon.c')
-rw-r--r-- | src/libelogind/sd-daemon/sd-daemon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libelogind/sd-daemon/sd-daemon.c b/src/libelogind/sd-daemon/sd-daemon.c index 44816401e..85edfea21 100644 --- a/src/libelogind/sd-daemon/sd-daemon.c +++ b/src/libelogind/sd-daemon/sd-daemon.c @@ -103,7 +103,7 @@ _public_ int sd_listen_fds(int unset_environment) { finish: unsetenv_all(unset_environment); return r; - } +} _public_ int sd_listen_fds_with_names(int unset_environment, char ***names) { _cleanup_strv_free_ char **l = NULL; @@ -137,8 +137,8 @@ _public_ int sd_listen_fds_with_names(int unset_environment, char ***names) { } else { r = strv_extend_n(&l, "unknown", n_fds); if (r < 0) - return r; -} + return r; + } *names = l; l = NULL; |