On Sat, Jul 26, 2008 at 12:17:38AM -0700, Dan Price wrote:

> So I've revised the test which emits this as follows:
> 
>         if not noexecute and img.is_liveroot():

Be careful where you put is_liveroot() test.  Calling be.init_image_recovery()
resets the root property of the image, and after it, is_liveroot() should
always be false (which means that the clause starting with the call to
is_liveroot() right after the call to init_image_recovery() should be
removed).

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to