aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-01 12:35:25 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-01 12:35:25 +0000
commit65fba71fdcfa303091de1a00120dbb58f8978a69 (patch)
tree1db7e3ebf3f3d65a02cdbe0a05142e46467697da /lib/python/Components
parentbb4b54a4168c5dca402b72adafd50cbd6e0b307e (diff)
downloadenigma2-65fba71fdcfa303091de1a00120dbb58f8978a69.tar.gz
enigma2-65fba71fdcfa303091de1a00120dbb58f8978a69.zip
reenable fresh harddisk-init
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/Harddisk.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py
index 133e063f..ca77e56f 100644
--- a/lib/python/Components/Harddisk.py
+++ b/lib/python/Components/Harddisk.py
@@ -130,8 +130,7 @@ class Harddisk:
errorList = [ _("Everything is fine"), _("Creating partition failed"), _("Mkfs failed"), _("Mount failed"), _("Create movie folder failed"), _("Unmount failed")]
def initialize(self):
- if self.unmount() != 0:
- return -5
+ self.unmount()
if self.createPartition() != 0:
return -1