ostree/src
Colin Walters ba28684ac2 lib/deploy: Really close testing race condition
I added `waitpid()`, but that didn't actually help because we were
`daemon()`izing. Don't daemonize if we're testing so that we can `waitpid()`.

Note I still haven't reproduced this race locally, but I'm pretty sure this will
fix it.

While here, actually check the return value from `waitpid()` just in case
something goes wrong there.

Closes: #1084
Approved by: jlebon
2017-08-16 18:01:04 +00:00
..
boot boot: Ensure we remount /var writable before systemd does journal flush 2016-09-15 19:41:44 +00:00
libostree lib/deploy: Really close testing race condition 2017-08-16 18:01:04 +00:00
libotutil lib/sysroot: Add journal-msg signal 2017-08-10 14:20:00 +00:00
ostree ot-main.c: fix signal callback signature 2017-08-16 13:17:14 +00:00
rofiles-fuse rofiles-fuse: Add missing error handling for fcntl() 2017-08-02 15:34:16 +00:00
switchroot tree-wide: Add a few missing O_CLOEXEC 2017-05-16 17:34:46 +00:00