[Pkg-iscsi-maintainers] [open-iscsi] 03/04: Why do we need the break ??

Ritesh Raj Sarraf rrs at moszumanska.debian.org
Wed Aug 20 13:43:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

rrs pushed a commit to branch master
in repository open-iscsi.

commit 2dc5c94a222be1227043aae67856fc4c1d875e52
Author: Ritesh Raj Sarraf <rrs at debian.org>
Date:   Wed Aug 20 18:52:17 2014 +0530

    Why do we need the break ??
    
    I can't recollect why... Let's remove it. If there are regressions, we
    can always re-enable it.
---
 debian/open-iscsi.init | 2 --
 1 file changed, 2 deletions(-)

diff --git a/debian/open-iscsi.init b/debian/open-iscsi.init
index 8a19e40..90eda85 100644
--- a/debian/open-iscsi.init
+++ b/debian/open-iscsi.init
@@ -128,7 +128,6 @@ start() {
 	MOUNT_RESULT=1
 	if mount -a -O _netdev >/dev/null 2>&1; then
 		MOUNT_RESULT=0
-		break
 	fi
 	log_end_msg $MOUNT_RESULT
 
@@ -137,7 +136,6 @@ start() {
 	SWAP_RESULT=1
 	if swapon -a -e >/dev/null 2>&1; then
 		SWAP_RESULT=0
-		break
 	fi
 	log_end_msg $SWAP_RESULT
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-iscsi/open-iscsi.git



More information about the Pkg-iscsi-maintainers mailing list