diff options
Diffstat (limited to 'debian/local/btrfs.local-premount')
-rw-r--r-- | debian/local/btrfs.local-premount | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/local/btrfs.local-premount b/debian/local/btrfs.local-premount index 7f7bf27c..aea71286 100644 --- a/debian/local/btrfs.local-premount +++ b/debian/local/btrfs.local-premount @@ -19,5 +19,7 @@ esac if [ -x /bin/btrfs ] then modprobe btrfs - /bin/btrfs device scan 2> /dev/null + # If asked to be quiet, show only errors + [ "${quiet}" = "y" ] && exec >/dev/null + /bin/btrfs device scan fi |