On Fri, 24 Oct 2003 15:46:13 +0200 Stephan Linkel <[EMAIL PROTECTED]>
wrote:
| How can I know if the emerge has finished successfully or if it
| failed? Is there any string that emerge prints out at the very end of
| a successful emerge process or is there a method that gives me the
| status of the last emerge?

You can use the return code (I'm afraid I don't know Tcl, but in many
other scripting languages the var is $?). If portage exited without
errors, the value will be 0. If something went wrong, it'll be non-zero.

-- 
Ciaran McCreesh
Mail:       ciaranm at firedrop.org.uk
Web:        www.firedrop.org.uk
System:     Gentoo Base System version 1.4.3.10p1 Linux 2.4.20-gentoo-r7

--
[EMAIL PROTECTED] mailing list

Reply via email to