ischroot (1) Linux Manual Page
NAME ischroot – detect if running in a chroot SYNOPSIS ischroot [–default-false] [–default-true] [–help] [–version] DESCRIPTION ischroot detects if it is currently running in a chroot. The exit status is: 0 if currently running in a chroot 1 if currently not running in a chroot 2 if the detection is not possible (On GNU/Linux this…
