help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] detecting fork error


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



--
View
          John Kearney's profile on LinkedIn View
          John Kearney's profile on Xing View
          John Kearney's profile on Viadeo View
          John Kearney's profile on ushi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]