Util-Linux package development
 help / color / mirror / Atom feed
From: Sami Kerola <kerolasa@iki.fi>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH] isosize: iterate over all arguments even when something fails
Date: Tue, 15 Aug 2017 19:23:39 +0100 (BST)	[thread overview]
Message-ID: <alpine.LNX.2.20.1708151913490.1230@imuri> (raw)
In-Reply-To: <20170814090821.qxqr4ill4ihtjlyc@ws.net.home>

On Mon, 14 Aug 2017, Karel Zak wrote:
> Seems like overkill, why we need so specific information? I guess it
> would be enough
> 
>     0 - EXIT_SUCCESS
>     1 - EXIT_FAILURE
>    64 - EXIT_SOMEOK  (already used for mount, lsblk, kill, ...)

I kept small overkill and used two different return values: 64 for some 
ok, and 32 all failed.

https://github.com/kerolasa/lelux-utiliteetit/commit/dea7a778beb6b043a889904d43b2b2b561814326

That is in branch: 2017wk32

-- 
Sami Kerola
http://www.iki.fi/kerolasa/

  reply	other threads:[~2017-08-15 18:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-12  8:32 [PATCH] isosize: iterate over all arguments even when something fails Sami Kerola
2017-08-12  8:32 ` [PATCH] look: use WORDLIST environment variable to find word list Sami Kerola
2017-08-14  9:12   ` Karel Zak
2017-08-15 18:13     ` Sami Kerola
2017-08-21  9:20       ` Karel Zak
2017-08-14  9:08 ` [PATCH] isosize: iterate over all arguments even when something fails Karel Zak
2017-08-15 18:23   ` Sami Kerola [this message]
2017-08-21  9:20     ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.20.1708151913490.1230@imuri \
    --to=kerolasa@iki.fi \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox