diff --git a/arch-chroot.in b/arch-chroot.in index 54341da..fd6140e 100644 --- a/arch-chroot.in +++ b/arch-chroot.in @@ -77,7 +77,7 @@ shift [[ -d $chrootdir ]] || die "Can't create chroot on non-directory %s" "$chrootdir" -if ! mountpoint "$chrootdir"; then +if ! mountpoint -q "$chrootdir"; then warning "$chrootdir is not a mountpoint. This may have undesirable side effects." fi