[dev] [PATCH quark] Fix chroot argument

From: Alexander Huemer <alexander.huemer_AT_xx.vu>
Date: Thu, 19 Mar 2015 23:25:43 +0100

---
 quark.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/quark.c b/quark.c
index 9c8928d..ff13592 100644
--- a/quark.c
+++ b/quark.c
_AT_@ -710,7 +710,7 @@ main(int argc, char *argv[])
 		logerrmsg("error\tchdir %s: %s\n", chrootdir, strerror(errno));
 		goto err;
 	}
-	if (chroot(".") == -1) {
+	if (chroot(chrootdir) == -1) {
 		logerrmsg("error\tchroot .: %s\n", strerror(errno));
 		goto err;
 	}
-- 
2.1.4
Received on Thu Mar 19 2015 - 23:25:43 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 19 2015 - 23:36:07 CET