[ubuntu-ar] Cómo interrumpir un script

Mariano Absatz - gmail el.baby at gmail.com
Sun Aug 19 15:35:49 UTC 2012


Román,

mal y pronto, lo que yo hago es esto:

comando_que_quiero_ver_como_sale
RC=$?
if [ $RC -ne 0 ] ; then
   echo "se pudrió todo"
   exit 1
fi
sigo_mi_script




-- 
Mariano Absatz - El Baby
www.clueless.com.ar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-ar/attachments/20120819/e022d923/attachment-0001.html>


More information about the Ubuntu-ar mailing list