|
| From: | John Kearney |
| Subject: | [Help-bash] detecting fork error |
| Date: | Fri, 13 Jul 2012 12:46:32 +0200 |
| User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
|
what is the best way to detect a fork error is this the best way or is there something better? sleep 4 & if [ $? -ne 0 ]; then    echo "Fork Error $?" fi thanks John |
| [Prev in Thread] | Current Thread | [Next in Thread] |