From: Stephen Soltesz Date: Wed, 22 Jul 2009 23:44:30 +0000 (+0000) Subject: also return if fsck fails; it's a bad bad idea to try to mount if fsck has just failed. X-Git-Tag: BootManager-4.3-10~8 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=d47844280d96fd48566dc59716fe09238311f62a also return if fsck fails; it's a bad bad idea to try to mount if fsck has just failed. --- diff --git a/source/steps/ValidateNodeInstall.py b/source/steps/ValidateNodeInstall.py index 393e8f5..ad853b6 100644 --- a/source/steps/ValidateNodeInstall.py +++ b/source/steps/ValidateNodeInstall.py @@ -93,6 +93,7 @@ def Run( vars, log ): except BootManagerException, e: log.write( "BootManagerException during fsck of /root and /vservers : %s\n" % str(e) ) + return 0 try: # then attempt to mount them