os: Make sure that writing our pid to the lock file actually worked
authorKeith Packard <keithp@keithp.com>
Fri, 18 Apr 2014 22:05:00 +0000 (15:05 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 18 Apr 2014 23:30:17 +0000 (16:30 -0700)
commit7abd28685066369ded807f59493c1159cfb286bf
tree89cbe71ea8b29b25c9f14680edc9f90e5a0a5b3e
parentd72f691c0c9cace857975a6608a4cb431c8b6846
os: Make sure that writing our pid to the lock file actually worked

There's no sense verifying that we can create the lock file and then
ignoring the return value from write.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
os/utils.c