From f28692af036c37a4db5553ac928421cbc97c3ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 18 Feb 2018 12:27:22 +0100 Subject: initramfs-init: redirect output of brtfs scan to /dev/null None of the other commands emit any output if everything works as expected and I just like consistency. --- initramfs-init.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'initramfs-init.in') diff --git a/initramfs-init.in b/initramfs-init.in index 0ef6310..95fcd97 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -389,7 +389,8 @@ if [ -n "$KOPT_root" ]; then $KOPT_root if echo "$KOPT_modules $KOPT_rootfstype" | grep -qw btrfs; then - /sbin/btrfs device scan || echo "Failed to scan devices for btrfs filesystem." + /sbin/btrfs device scan >/dev/null || \ + echo "Failed to scan devices for btrfs filesystem." fi if [ -n "$KOPT_resume" ]; then -- cgit v1.2.3