From: Michael Prokop Date: Thu, 4 Jun 2015 13:26:08 +0000 (+0200) Subject: Make mountpoint output silent X-Git-Tag: v0.71~8 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=bfb0afbfbca607789a0d0fe786c258fb808a5158 Make mountpoint output silent Related to issue #66 @ github / commit 9d9ec2d4cee334ce5b378fb880a2c58c57e4f6e7 --- diff --git a/grml-debootstrap b/grml-debootstrap index 9a27e4b..4615555 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1566,7 +1566,7 @@ remove_configs() { return 0 fi - if ! mountpoint "${MNTPOINT}" ; then + if ! mountpoint "${MNTPOINT}" >/dev/null 2>&1 ; then ewarn "Target ${MNTPOINT} doesn't seem to be mounted, can't remove configuration files." ; eend 0 return 0 fi