mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
machine: don't return uninitialized variable
Repotred by Ronny Chevalier
This commit is contained in:
parent
108e8cd11e
commit
f14aa1f1b2
Notes:
Zbigniew Jędrzejewski-Szmek
2014-07-16 15:47:48 -04:00
Backport: bugfix
@ -371,7 +371,7 @@ static int machine_stop_scope(Machine *m) {
|
||||
free(m->scope_job);
|
||||
m->scope_job = job;
|
||||
|
||||
return r;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int machine_stop(Machine *m) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user