Commit a798185c authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

chroot() need chdir("/") afterwards to work

parent 7555363f
......@@ -886,6 +886,7 @@ static void set_root(const char *path)
sql_perror("chroot");
unireg_abort(1);
}
my_setwd("/", MYF(0));
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment