Re: [dev] [PATCH quark] Fix chroot argument

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Thu, 19 Mar 2015 22:52:36 +0000

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.

cls
Received on Thu Mar 19 2015 - 23:52:36 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 20 2015 - 00:00:18 CET