summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-04-23 18:08:57 +0200
committerJoel Andres Granados <jgranado@redhat.com>2008-04-23 18:08:57 +0200
commitccf28ab9191f48641e15e05b2bb98c6192f6e0ac (patch)
treefb302f7811e88a75754cbc46202604aff35d2c25 /iutil.py
parent77e4dab8f06cfed775c73624a33f91b34f8595d6 (diff)
downloadanaconda-ccf28ab9191f48641e15e05b2bb98c6192f6e0ac.tar.gz
anaconda-ccf28ab9191f48641e15e05b2bb98c6192f6e0ac.tar.xz
anaconda-ccf28ab9191f48641e15e05b2bb98c6192f6e0ac.zip
Lookinig for the capabilities file in xen is valid in more cases.
Thx to msivak for pointing this out. (#441729)
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iutil.py b/iutil.py
index 9ce05b89f..5a2fd5fa5 100644
--- a/iutil.py
+++ b/iutil.py
@@ -531,7 +531,7 @@ def writeRpmPlatform(root="/"):
## Check to see if we are in a xen environment.
#
def inXen():
- if os.path.exists("/proc/xen"):
+ if os.path.exists("/proc/xen/capabilities"):
return True
return False