logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ischroot - detect if running in a chroot

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.

Name

       ischroot - detect if running in a chroot

Options

-f,--default-false
              Exit with status 1 if the detection is not possible.

       -t,--default-true
              Exit with status 0 if the detection is not possible.

       --help Print a usage message on standard output and exit successfully.

       --version
              Print version information on standard output and exit successfully.

Debian                                             30 May 2011                                       ISCHROOT(1)

Synopsis

ischroot [--default-false] [--default-true] [--help] [--version]

See Also