jailsetup.sh: verify $cfg_chroot is sane
commit42fdbd76e5dd71ef7dc7da76b52407dc16f07a63
authorKyle J. McKay <mackyle@gmail.com>
Wed, 27 Nov 2013 06:56:32 +0000 (26 22:56 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 27 Nov 2013 06:56:32 +0000 (26 22:56 -0800)
tree00815f3643438c5df55a971405a295761d35815c
parent21d87320d8bb209c96a6abb4627316bf0b6de3c1
jailsetup.sh: verify $cfg_chroot is sane

Before the jailsetup.sh script writes all over the chroot make
sure that the $cfg_chroot variable is actually set and is not set
to "/" in order to help prevent any catastrophes.
jailsetup.sh