blob: 5e4281d4e39a611704ece859fed1b5d0c7cee3d2 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 2b9ed06850410d70371b31de5f131e484ba1c851 Mon Sep 17 00:00:00 2001
2From: Lu Chong <Chong.Lu@windriver.com>
3Date: Thu, 17 Oct 2013 16:06:04 +0800
4Subject: [PATCH] fix mime-construct --help return value
5
6Upstream-Status: Pending
7
8Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
9
10---
11 mime-construct | 5 +++--
12 1 file changed, 3 insertions(+), 2 deletions(-)
13
14diff --git a/mime-construct b/mime-construct
15index cad7d0e..707ed19 100755
16--- a/mime-construct
17+++ b/mime-construct
18@@ -39,7 +39,7 @@ usage: $Me switch...
19
20 Global settings:
21 --debug turn debugging on
22- --help show this and then die
23+ --help show this
24 --output don\'t mail, output to stdout (loses bcc info)
25 --subpart generate subpart rather than whole message (turns
26 on --output, changes other semantics a bit)
27@@ -150,7 +150,8 @@ sub xwarn {
28
29 sub usage {
30 xwarn @_ if @_;
31- die $Usage;
32+ print $Usage;
33+ exit 0;
34 }
35
36 sub init {
37--
381.7.9.5
39