From 5f000b903ac541896b2df91420e35f08d4e96ff4 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 19 Jan 2014 20:08:22 +2000 Subject: [PATCH] Re: [PATCH 1/2] cli: clean up exit status code returned by the cli commands --- 9c/c3be0c3bd22ba231296f180ed339ea91ddf220 | 61 +++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 9c/c3be0c3bd22ba231296f180ed339ea91ddf220 diff --git a/9c/c3be0c3bd22ba231296f180ed339ea91ddf220 b/9c/c3be0c3bd22ba231296f180ed339ea91ddf220 new file mode 100644 index 000000000..fd7368f77 --- /dev/null +++ b/9c/c3be0c3bd22ba231296f180ed339ea91ddf220 @@ -0,0 +1,61 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 194FE431FC0 + for ; Sat, 18 Jan 2014 16:08:30 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 9ASkkM0DLExL for ; + Sat, 18 Jan 2014 16:08:26 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id AE3DA431FBC + for ; Sat, 18 Jan 2014 16:08:26 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1W4fw9-0003kl-Vl; Sat, 18 Jan 2014 20:08:25 -0400 +Received: (nullmailer pid 31980 invoked by uid 1000); Sun, 19 Jan 2014 + 00:08:22 -0000 +From: David Bremner +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH 1/2] cli: clean up exit status code returned by the cli + commands +In-Reply-To: <1389389334-24138-1-git-send-email-jani@nikula.org> +References: <1389389334-24138-1-git-send-email-jani@nikula.org> +User-Agent: Notmuch/0.17+30~g50677dd (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Sat, 18 Jan 2014 20:08:22 -0400 +Message-ID: <87y52cg7ex.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 19 Jan 2014 00:08:30 -0000 + +Jani Nikula writes: + +> Apart from the status codes for format mismatches, the non-zero exit +> status codes have been arbitrary. Make the cli consistently return +> either EXIT_SUCCESS or EXIT_FAILURE. + +series pushed, + +d -- 2.26.2