I am trying to figure out how to exit a chroot environment. The script that is a replacement for a root executed shell script. The code as I have it now is:
chdir("$target_dir"); chroot("$target_dir"); chdir("/"); .... Perform other work
How can I exit out of the chroot environment?
In reply to exiting a chroot environment by storri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |