projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f54c10
)
[multipath] Fixup return code for 'multipath -l'
author
Christophe Varoqui
<cvaroqui@zezette.localdomain>
Sun, 3 Sep 2006 22:15:44 +0000
(
00:15
+0200)
committer
Christophe Varoqui
<cvaroqui@zezette.localdomain>
Sun, 3 Sep 2006 22:15:44 +0000
(
00:15
+0200)
'multipath -l' should really set the return code to '0' if no error
occurred.
Hannes Reinecke, Suse
multipath/main.c
patch
|
blob
|
history
diff --git
a/multipath/main.c
b/multipath/main.c
index
c1257a2
..
b6f8814
100644
(file)
--- a/
multipath/main.c
+++ b/
multipath/main.c
@@
-280,8
+280,10
@@
configure (void)
filter_pathvec(pathvec, refwwid);
- if (conf->list)
+ if (conf->list) {
+ r = 0;
goto out;
+ }
/*
* core logic entry point