summaryrefslogtreecommitdiffstats
path: root/rescue/Flash/scripts
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/scripts
parent571b1d5aeb9b63617cc7a3323832a8a8dba36c65 (diff)
downloaddrakx-9ba12aee1e832b55663eed38b1cf5929eb4c52ab.tar
drakx-9ba12aee1e832b55663eed38b1cf5929eb4c52ab.tar.gz
drakx-9ba12aee1e832b55663eed38b1cf5929eb4c52ab.tar.bz2
drakx-9ba12aee1e832b55663eed38b1cf5929eb4c52ab.tar.xz
drakx-9ba12aee1e832b55663eed38b1cf5929eb4c52ab.zip
hide errors when (un)mounting /proc/bus/usb
Diffstat (limited to 'rescue/Flash/scripts')
-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
}