functions: silence remount errors
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 <jskarvad@redhat.com>
This commit is contained in:
parent
96572e6f83
commit
81f13e8a9c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue