paolo wrote: vedi in fondo a http://www.autopackage.org/bash.html qualcosa tipo someFunc(); echo "DEBUG: we're at stage 2"; if [[ "$?" = "0" ]]; then doSomethingGood(); fi dovrebbe fare a caso tuo Alessandro