flock: fix -c; improve error handling of fork+exec
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 24 Apr 2016 16:19:49 +0000 (18:19 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 24 Apr 2016 16:19:49 +0000 (18:19 +0200)
commite1d426fd65c00a6d01a10d85edf8a294ae8a2d2b
treebd6a4871e80f30e6a38974d64d8fcdc2c92e45e3
parent4ab372d49a6e82b0bf097dedb96d26330c5f2d5f
flock: fix -c; improve error handling of fork+exec

function                                             old     new   delta
flock_main                                           254     334     +80

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/flock.c