mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
manager: add one more assert()
This commit is contained in:
parent
a6edc20fa6
commit
7fa49280bc
@ -809,6 +809,8 @@ static int manager_find_credentials_dirs(Manager *m) {
|
||||
}
|
||||
|
||||
void manager_set_switching_root(Manager *m, bool switching_root) {
|
||||
assert(m);
|
||||
|
||||
m->switching_root = MANAGER_IS_SYSTEM(m) && switching_root;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user