diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-03-05 11:53:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-03-05 12:21:17 +0100 |
commit | 3a736a32164672550fead7417a2159751ac94df5 (patch) | |
tree | 189bb384e902f78de77e560adec7ce644f87d15f /src | |
parent | 66034f9c07017b4b91d11c3697b620880845774a (diff) | |
download | systemd-3a736a32164672550fead7417a2159751ac94df5.tar.gz |
shutdown: (void)ify more stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/core/shutdown.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/shutdown.c b/src/core/shutdown.c index 48469103da..842ba57f13 100644 --- a/src/core/shutdown.c +++ b/src/core/shutdown.c @@ -343,14 +343,14 @@ int main(int argc, char *argv[]) { bool changed = false; if (use_watchdog) - watchdog_ping(); + (void) watchdog_ping(); /* Let's trim the cgroup tree on each iteration so that we leave an empty cgroup tree around, so that container managers get a nice notify event when we are down */ if (cgroup) - cg_trim(SYSTEMD_CGROUP_CONTROLLER, cgroup, false); + (void) cg_trim(SYSTEMD_CGROUP_CONTROLLER, cgroup, false); if (need_umount) { log_info("Unmounting file systems."); @@ -440,7 +440,7 @@ int main(int argc, char *argv[]) { arguments[0] = NULL; arguments[1] = arg_verb; arguments[2] = NULL; - execute_directories(dirs, DEFAULT_TIMEOUT_USEC, NULL, NULL, arguments, NULL, EXEC_DIR_PARALLEL | EXEC_DIR_IGNORE_ERRORS); + (void) execute_directories(dirs, DEFAULT_TIMEOUT_USEC, NULL, NULL, arguments, NULL, EXEC_DIR_PARALLEL | EXEC_DIR_IGNORE_ERRORS); (void) rlimit_nofile_safe(); |