summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-07-06 17:52:17 +0200
committerGitHub <noreply@github.com>2020-07-06 17:52:17 +0200
commitb3077c47a86784b25122ae301cea67d48633d502 (patch)
tree1a6e14126ce5d1997618fec741692b6506a782c4 /src/network
parenthwdb: add another Logitech M705 mouse variant (diff)
parentupdate-utmp: do not fail on EROFS (diff)
downloadsystemd-b3077c47a86784b25122ae301cea67d48633d502.tar.xz
systemd-b3077c47a86784b25122ae301cea67d48633d502.zip
Merge pull request #16344 from keszybz/update-utmp-erofs
Make update-utmp not fail if it only fails to write wtmp records
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd.c2
-rw-r--r--src/network/wait-online/wait-online.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd.c b/src/network/networkd.c
index 35f22fea80..445aee16ad 100644
--- a/src/network/networkd.c
+++ b/src/network/networkd.c
@@ -17,8 +17,8 @@
#include "user-util.h"
static int run(int argc, char *argv[]) {
- _cleanup_(notify_on_cleanup) const char *notify_message = NULL;
_cleanup_(manager_freep) Manager *m = NULL;
+ _cleanup_(notify_on_cleanup) const char *notify_message = NULL;
int r;
log_setup_service();
diff --git a/src/network/wait-online/wait-online.c b/src/network/wait-online/wait-online.c
index 17ed5d38cf..cfd9093f1a 100644
--- a/src/network/wait-online/wait-online.c
+++ b/src/network/wait-online/wait-online.c
@@ -183,8 +183,8 @@ static int parse_argv(int argc, char *argv[]) {
}
static int run(int argc, char *argv[]) {
- _cleanup_(notify_on_cleanup) const char *notify_message = NULL;
_cleanup_(manager_freep) Manager *m = NULL;
+ _cleanup_(notify_on_cleanup) const char *notify_message = NULL;
int r;
log_setup_service();