1
0
Fork 0

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:
Jaroslav Škarvada 2013-07-24 17:36:39 +02:00
parent 96572e6f83
commit 81f13e8a9c

View file

@ -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
}