Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1257701

Re: [PATCH 04/10] merge_config.sh: exit non-0 in case of failures

From Darren Hart <dvhart@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 04/10] merge_config.sh: exit non-0 in case of failures
Date 2015-10-28 07:30 +0100
Message-ID <qospb-7q6-11@gated-at.bofh.it> (permalink)
References <qon69-3PX-5@gated-at.bofh.it> <qon69-3PX-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Oct 28, 2015 at 09:42:05AM +0900, Olof Johansson wrote:
> Exit with non-0 value in cases where there was a failure to set an option.
> Also, add a '-e' during which the conflict warnings are considered failures
> (-e -r will result in these being failures, -r will result in them just being
> reported).
> 
> Signed-off-by: Olof Johansson <olof@lixom.net>

It's useful to be able to check the return code for errors. Since override is
often expected, making tat configurable makes sense.

Reviewed-by: Darren Hart <dvhart@linux.intel.com>

-- 
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 04/10] merge_config.sh: exit non-0 in case of failures Olof Johansson <olof@lixom.net> - 2015-10-28 01:50 +0100
  Re: [PATCH 04/10] merge_config.sh: exit non-0 in case of failures Darren Hart <dvhart@infradead.org> - 2015-10-28 07:30 +0100

csiph-web