Re: [PATCH v4 14/32] lock_file(): exit early if lockfile cannot be opened

2014-09-11 Thread Ronnie Sahlberg
Reviewed-by: Ronnie Sahlberg On Sat, Sep 6, 2014 at 12:50 AM, Michael Haggerty wrote: > This is a bit easier to read than the old version, which nested part > of the non-error code in an "if" block. > > Signed-off-by: Michael Haggerty > --- > lockfile.c | 23 +++ > 1 file

[PATCH v4 14/32] lock_file(): exit early if lockfile cannot be opened

2014-09-06 Thread Michael Haggerty
This is a bit easier to read than the old version, which nested part of the non-error code in an "if" block. Signed-off-by: Michael Haggerty --- lockfile.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/lockfile.c b/lockfile.c index bfea333..71786c9