mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
virt: make sure that we detect unknown container managers as VIRTUALIZATION_CONTAINER_OTHER
If we don't know a container manager, we should consider it as "other" rather than as no container manager at all, to provide a somwhat useful upgrade path.
This commit is contained in:
parent
fa195fa775
commit
f499daf4b3
@ -400,7 +400,7 @@ int detect_container(void) {
|
||||
goto finish;
|
||||
}
|
||||
|
||||
r = VIRTUALIZATION_NONE;
|
||||
r = VIRTUALIZATION_CONTAINER_OTHER;
|
||||
|
||||
finish:
|
||||
cached_found = r;
|
||||
|
Loading…
Reference in New Issue
Block a user