make daemon try the operations that might fail before fork rather than after
[musl] / src / signal / restore.c