summaryrefslogtreecommitdiffstats
path: root/0086-RHBZ-1110007-orphan-path-on-failed-add.patch
blob: 0d6aa589e9e19558ec41207946cbba682477b553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
 multipathd/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: multipath-tools-130222/multipathd/main.c
===================================================================
--- multipath-tools-130222.orig/multipathd/main.c
+++ multipath-tools-130222/multipathd/main.c
@@ -562,7 +562,7 @@ rescan:
 		return 0;
 	}
 	else
-		return 1;
+		goto fail;
 
 fail_map:
 	remove_map(mpp, vecs, 1);