mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Make clvmd return 0 on success rather than 1.
This commit is contained in:
parent
2cec0e4562
commit
c503c83c78
@ -1,5 +1,6 @@
|
||||
Version 2.02.54 -
|
||||
=====================================
|
||||
Make clvmd return 0 on success rather than 1.
|
||||
Add --pvmetadatacopies for pvcreate, vgcreate, vgextend, vgconvert.
|
||||
Add implict pvcreate support to vgcreate and vgextend.
|
||||
Correct example.conf to indicate that lvm2 not lvm1 is the default format.
|
||||
|
@ -303,7 +303,7 @@ int main(int argc, char *argv[])
|
||||
exit(0);
|
||||
|
||||
case 'R':
|
||||
return refresh_clvmd();
|
||||
return refresh_clvmd()==1?0:1;
|
||||
|
||||
case 'C':
|
||||
clusterwide_opt = 1;
|
||||
@ -354,7 +354,7 @@ int main(int argc, char *argv[])
|
||||
/* Sending to stderr makes no sense for a detached daemon */
|
||||
if (debug == DEBUG_STDERR)
|
||||
debug = DEBUG_SYSLOG;
|
||||
return debug_clvmd(debug, clusterwide_opt);
|
||||
return debug_clvmd(debug, clusterwide_opt)==1?0:1;
|
||||
}
|
||||
|
||||
/* Fork into the background (unless requested not to) */
|
||||
|
Loading…
Reference in New Issue
Block a user