summaryrefslogtreecommitdiffstats
path: root/rescue/Flash
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-07-05 16:51:40 +0000
committerOlivier Blin <oblin@mandriva.com>2007-07-05 16:51:40 +0000
commit9ba12aee1e832b55663eed38b1cf5929eb4c52ab (patch)
tree80d4487410a4359d703b8558eafc03076f931cd8 /rescue/Flash
parent571b1d5aeb9b63617cc7a3323832a8a8dba36c65 (diff)
downloaddrakx-backup-do-not-use-9ba12aee1e832b55663eed38b1cf5929eb4c52ab.tar
drakx-backup-do-not-use-9ba12aee1e832b55663eed38b1cf5929eb4c52ab.tar.gz
drakx-backup-do-not-use-9ba12aee1e832b55663eed38b1cf5929eb4c52ab.tar.bz2
drakx-backup-do-not-use-9ba12aee1e832b55663eed38b1cf5929eb4c52ab.tar.xz
drakx-backup-do-not-use-9ba12aee1e832b55663eed38b1cf5929eb4c52ab.zip
hide errors when (un)mounting /proc/bus/usb
Diffstat (limited to 'rescue/Flash')
-rw-r--r--rescue/Flash/scripts/rescue_common4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/Flash/scripts/rescue_common b/rescue/Flash/scripts/rescue_common
index 4d8a80c67..f00cdb4dc 100644
--- a/rescue/Flash/scripts/rescue_common
+++ b/rescue/Flash/scripts/rescue_common
@@ -73,7 +73,7 @@ function check_vendor() {
rc=1
- mount -t usbfs none /proc/bus/usb
+ mount -t usbfs none /proc/bus/usb 2> /dev/null
i=0
while [ ! -z "${vendors[$i]}" ]; do
@@ -88,7 +88,7 @@ function check_vendor() {
let i++
done
- umount /proc/bus/usb
+ umount /proc/bus/usb 2> /dev/null
return $rc
}