print error if fork(2) fails

Signed-off-by: nixnodes <code@nixnodes.net>