diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-02-18 12:27:22 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-18 15:00:33 +0100 |
commit | f28692af036c37a4db5553ac928421cbc97c3ebd (patch) | |
tree | c0595d745eee35f822f43eaaf997ed804a4138c5 /initramfs-init.in | |
parent | d6a68123b9cd3c751ee45a376b01d1b164c0ab5b (diff) | |
download | mkinitfs-f28692af036c37a4db5553ac928421cbc97c3ebd.tar.bz2 mkinitfs-f28692af036c37a4db5553ac928421cbc97c3ebd.tar.xz |
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.
Diffstat (limited to 'initramfs-init.in')
-rwxr-xr-x | initramfs-init.in | 3 |
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 |