aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-chroot
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-chroot')
-rwxr-xr-xcontrib/kiss-chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-chroot b/contrib/kiss-chroot
index b7430e8..9caa4cf 100755
--- a/contrib/kiss-chroot
+++ b/contrib/kiss-chroot
@@ -25,7 +25,7 @@ clean() {
}
main() {
- [ "$1" ] || usage
+ case "$1" in ''|--help|-h) usage; esac
[ -d "$1" ] || die Given path does not exist
[ "$(id -u)" = 0 ] || die Script needs to be run as root