mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
manager: add one more assert()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user