timeout.c: don't use perror; exit 125 upon failed fork
commit15f4d612df8eed7014f76825ad986fb8c769ec5d
authorJim Meyering <meyering@redhat.com>
Fri, 3 Oct 2008 16:29:39 +0000 (3 18:29 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 3 Oct 2008 16:39:31 +0000 (3 18:39 +0200)
tree1e20e2a7b31430891b46f6edf6dcfc3259908bd8
parente505736f8211a608b00dfe75fb186a5211e1a183
timeout.c: don't use perror; exit 125 upon failed fork

* src/timeout.c (main): Use "error", not perror.
Elbert Pol noticed a build failure on OS/2.
* src/timeout.c (main): Exit 125 (not errno) upon failed fork.
Make the failed fork diagnostic match the one from install.c.
src/timeout.c