No, I just can not use the return code, because my way to call the emerge does not allow this. I'd have to re-structure the whole prog the get the return code.
So, there is no way the get the status of the last emerge like 'emerge status'?
Or is there any way to redirect the return code?
It's really trivial ... just write simple wrapper for it, i.e. like this:
#!/bin/bash /usr/bin/emerge $* echo $? > return-code-from-emerge
Except of running emerge directly, you will run wrapper (with the same arguments) ...
noro
-- [EMAIL PROTECTED] mailing list
