[gobolinux-devel] [gobolinux-commits] tools/ChrootCompile/bin ChrootCompile

André Detsch detsch at gobolinux.org
Wed Feb 20 10:26:38 NZDT 2008


On Feb 19, 2008 5:08 PM, Jonas Karlsson <jonka750 at student.liu.se> wrote:
> > -in_chroot bash
> > -exit 0
> > +#in_chroot bash
> > +#exit 0
> >
> Why? I use it almost every time ChrootCompile dies while in the
> sandbox. At least make it optional.

Because this was placed _before_ the Compile command. It was left
behind by Lucas' commit "Make it possible to run ChrootCompile in
Rootless mode. Sweet!"

Calling bash on failure is still active:

if [ "$failed" ]
then
   echo -en "\007"
   echo "Compilation failed, invoking bash for debugging purposes."
   in_chroot /bin/bash
   Die "Finished with errors."
fi

-- 
Andre Detsch


More information about the gobolinux-devel mailing list