diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-07-05 16:51:40 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-07-05 16:51:40 +0000 |
commit | 9ba12aee1e832b55663eed38b1cf5929eb4c52ab (patch) | |
tree | 80d4487410a4359d703b8558eafc03076f931cd8 /rescue | |
parent | 571b1d5aeb9b63617cc7a3323832a8a8dba36c65 (diff) | |
download | drakx-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')
-rw-r--r-- | rescue/Flash/scripts/rescue_common | 4 |
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 } |