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

2014-09-11 Thread Ronnie Sahlberg
Reviewed-by: Ronnie Sahlberg sahlb...@google.com On Sat, Sep 6, 2014 at 12:50 AM, Michael Haggerty mhag...@alum.mit.edu 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 mhag...@alum.mit.edu ---

[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 mhag...@alum.mit.edu --- lockfile.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/lockfile.c b/lockfile.c