From 81f13e8a9cbb7d81dc4db88f7e1b136ee00b5262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Wed, 24 Jul 2013 17:36:39 +0200 Subject: [PATCH] functions: silence remount errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some filesystems that are mounted multiple times cannot be remounted with different options. The error may confuse users, thus it is better to silence it. Signed-off-by: Jaroslav Škarvada --- profiles/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/functions b/profiles/functions index a4df051..19ef8e2 100644 --- a/profiles/functions +++ b/profiles/functions @@ -148,7 +148,7 @@ remount_partitions() { shift for partition in $@; do - mount -o remount,$options $partition + mount -o remount,$options $partition >/dev/null 2>&1 done }