summaryrefslogtreecommitdiffstats
path: root/rescue/Flash/scripts
diff options
context:
space:
mode:
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
}