Re: [dev] [PATCH quark] Fix chroot argument
On Thu, Mar 19, 2015 at 10:52:36PM +0000, Connor Lane Smith wrote:
> On 19 March 2015 at 22:25, Alexander Huemer <alexander.huemer_AT_xx.vu> wrote:
> > - if (chroot(".") == -1) {
> > + if (chroot(chrootdir) == -1) {
>
> This looks wrong; see line 709:
>
> > if (chdir(chrootdir) == -1) {
>
> So on line 713 . should be chrootdir, because it just chdir'd there.
Yeah, right.
Kind regards,
-Alex^Wblackbit
Received on Fri Mar 20 2015 - 01:23:57 CET
This archive was generated by hypermail 2.3.0
: Fri Mar 20 2015 - 01:36:03 CET