aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinitramfs-init.in3
1 files changed, 2 insertions, 1 deletions
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