projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa195fa
)
virt: make sure that we detect unknown container managers as VIRTUALIZATION_CONTAINER...
author
Lennart Poettering
<lennart@poettering.net>
Mon, 9 Nov 2015 22:47:29 +0000
(23:47 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 10 Nov 2015 16:31:30 +0000
(17:31 +0100)
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.
src/basic/virt.c
patch
|
blob
|
history
diff --git
a/src/basic/virt.c
b/src/basic/virt.c
index ff006e96c635d160db87dfe971aedf623b725848..d088b7a8049493f44002e7c729c0e3382d34016c 100644
(file)
--- a/
src/basic/virt.c
+++ b/
src/basic/virt.c
@@
-400,7
+400,7
@@
int detect_container(void) {
goto finish;
}
- r = VIRTUALIZATION_
NONE
;
+ r = VIRTUALIZATION_
CONTAINER_OTHER
;
finish:
cached_found = r;