diff options
Diffstat (limited to 'meta-filesystems/recipes-support/fuse/files/0001-fuse-fix-the-return-value-of-help-option.patch')
-rw-r--r-- | meta-filesystems/recipes-support/fuse/files/0001-fuse-fix-the-return-value-of-help-option.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-support/fuse/files/0001-fuse-fix-the-return-value-of-help-option.patch b/meta-filesystems/recipes-support/fuse/files/0001-fuse-fix-the-return-value-of-help-option.patch new file mode 100644 index 000000000..577dbb5b2 --- /dev/null +++ b/meta-filesystems/recipes-support/fuse/files/0001-fuse-fix-the-return-value-of-help-option.patch | |||
@@ -0,0 +1,28 @@ | |||
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 | |||