projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d929b0f
)
shutdown: use (void)
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 9 Apr 2016 01:09:09 +0000
(21:09 -0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 9 Apr 2016 01:09:09 +0000
(21:09 -0400)
NULL cgroup is handled below.
src/core/shutdown.c
patch
|
blob
|
history
diff --git
a/src/core/shutdown.c
b/src/core/shutdown.c
index 6296b4c94a16999ad1a8e6e063d4b849fcc7732f..96679c920fa3ef568637f09e1319b1617ed43a58 100644
(file)
--- a/
src/core/shutdown.c
+++ b/
src/core/shutdown.c
@@
-202,7
+202,7
@@
int main(int argc, char *argv[]) {
goto error;
}
- cg_get_root_path(&cgroup);
+
(void)
cg_get_root_path(&cgroup);
use_watchdog = !!getenv("WATCHDOG_USEC");