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:
Keith Packard <keithp@keithp.com>
Reviewed-by:  Jamey Sharp <jamey@minilop.net>
 Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Jamey Sharp <jamey@minilop.net>
 Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Showing
Please
register
or
sign in
to comment