diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2013-05-29 12:54:42 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2013-05-29 12:54:42 +0200 |
commit | 6ad17fd7129dc7f50c0623181681157faea806a1 (patch) | |
tree | 6cfbe7cdfc0cfd3147a8cb5201499e9c4217f789 /daemons | |
parent | be25f7ac83bcf0f910a6213d4c1d195fbdd0d45d (diff) | |
download | lvm2-6ad17fd7129dc7f50c0623181681157faea806a1.tar.gz |
dmeventd: always return success on dmevetnd -V
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/dmeventd/dmeventd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemons/dmeventd/dmeventd.c b/daemons/dmeventd/dmeventd.c index 95fb837e3..471091047 100644 --- a/daemons/dmeventd/dmeventd.c +++ b/daemons/dmeventd/dmeventd.c @@ -1928,10 +1928,10 @@ int main(int argc, char *argv[]) switch (opt) { case 'h': usage(argv[0], stdout); - exit(0); + exit(EXIT_SUCCESS); case '?': usage(argv[0], stderr); - exit(0); + exit(EXIT_SUCCESS); case 'R': _restart++; break; @@ -1943,7 +1943,7 @@ int main(int argc, char *argv[]) break; case 'V': printf("dmeventd version: %s\n", DM_LIB_VERSION); - exit(1); + exit(EXIT_SUCCESS); } } |