arch-chroot: squelch output from mountpoint cmd

This commit is contained in:
Dave Reisner 2018-10-15 13:01:43 -04:00
parent c07baac985
commit 22f5105c23

View File

@ -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