18 lines
594 B
Diff
18 lines
594 B
Diff
|
Fix upstream patch patch 0004-systemd-detect-virt-only-discover-Xen-domU.patch
|
||
|
of the commit 37287585b6ba9a55065c8f94458f6db3c0abe0af
|
||
|
---
|
||
|
systemd-210/src/shared/virt.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- systemd-210/src/shared/virt.c
|
||
|
+++ systemd-210/src/shared/virt.c 2014-07-17 07:25:12.169628255 +0000
|
||
|
@@ -174,7 +174,7 @@
|
||
|
if (streq(cap, "control_d"))
|
||
|
break;
|
||
|
|
||
|
- if (!i) {
|
||
|
+ if (!cap) {
|
||
|
_id = "xen";
|
||
|
r = 1;
|
||
|
}
|