From: Stefan Pluecken Date: Thu, 1 Dec 2005 12:35:25 +0000 (+0000) Subject: reenable fresh harddisk-init X-Git-Tag: 2.6.0~4845 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/65fba71fdcfa303091de1a00120dbb58f8978a69 reenable fresh harddisk-init --- 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