Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | From 2182c423c6cd235c052e6c420203f24ec9bcd6ab Mon Sep 17 00:00:00 2001 |
| 2 | From: Lu Chong <Chong.Lu@windriver.com> |
| 3 | Date: Wed, 30 Oct 2013 15:27:00 +0800 |
| 4 | Subject: [PATCH] fuse: fix the return value of "--help" option |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Signed-off-by: Lu Chong <Chong.Lu@windriver.com> |
| 9 | --- |
| 10 | util/fusermount.c | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/util/fusermount.c b/util/fusermount.c |
| 14 | index b2e87d9..70d7c75 100644 |
| 15 | --- a/util/fusermount.c |
| 16 | +++ b/util/fusermount.c |
| 17 | @@ -1168,7 +1168,7 @@ static void usage(void) |
| 18 | " -q quiet\n" |
| 19 | " -z lazy unmount\n", |
| 20 | progname); |
| 21 | - exit(1); |
| 22 | + exit(0); |
| 23 | } |
| 24 | |
| 25 | static void show_version(void) |
| 26 | -- |
| 27 | 1.7.9.5 |
| 28 | |