summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--platform.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/platform.py b/platform.py
index ef9ff0c8d..4adc5d106 100644
--- a/platform.py
+++ b/platform.py
@@ -62,12 +62,7 @@ class Platform(object):
raise NotImplementedError("bootDevice not implemented for this platform")
mntDict = self._mntDict()
- bootDev = mntDict.get("/boot", mntDict.get("/"))
-
- if not bootDev:
- raise DeviceError("No bootable device found")
- else:
- return bootDev
+ return mntDict.get("/boot", mntDict.get("/"))
@property
def bootFSType(self):