Re: [PATCH] isosize: iterate over all arguments even when something fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux