Re: [dev][ubase][PATCH] alternative - return exit codes like util-linux

From: sin <sin_AT_2f30.org>
Date: Mon, 10 Feb 2014 19:04:57 +0000

On Mon, Feb 10, 2014 at 09:19:10AM -0500, Carlos Torres wrote:
> Hello,
>
> On 2/10/14, sin <sin_AT_2f30.org> wrote:
> > So I don't see how or-ing the return values actually does anything.
> > It can only be -1 or 0.
> >
> > Am I missing something here?
>
> No sir. this patch simply emulates whats wrong with util-linux's
> swapon/swapoff.
> Its not necessary unless you want full compatibility.

I'd like to avoid it as much as possible.

A patch that factors out the function however, without playing
tricks with the return value would be nice though,
Received on Mon Feb 10 2014 - 20:04:57 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 10 2014 - 20:12:05 CET