diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-09 17:04:27 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-09 17:04:27 +0100 |
commit | 250b4df902d678b9e479a9bcaa73082c03c51782 (patch) | |
tree | 1aa871c3edaf95f4ea96d9b4f8ab8682b3fa9b59 /src | |
parent | 8917611b3c5fadd83f23ec4689f2d948053d8f9e (diff) |
output fix
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-blockdevices-filesystems.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 901487b..0ad2c4f 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -380,11 +380,11 @@ process_filesystems () debug "umounting/swapoffing $part" if [ "$fs_type" = swap ] then - swapoff $part # could be that it was not swappedon yet. that's not a problem at all. + swapoff $part &>/dev/null # could be that it was not swappedon yet. that's not a problem at all. elif [ "$fs_mountpoint" != no_mount ] then [ "$fs_mount" = target ] && fs_mountpoint=$var_TARGET_DIR$fs_mountpoint - umount $part # could be that this was not mounted yet. no problem. NOTE: umount part, not mountpoint. some other part could be mounted in this place, we don't want to affect that. + umount $part &>/dev/null # could be that this was not mounted yet. no problem. NOTE: umount part, not mountpoint. some other part could be mounted in this place, we don't want to affect that. fi done |