summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorAlexander Hall <halex@cvs.openbsd.org>2011-10-25 20:48:33 +0000
committerAlexander Hall <halex@cvs.openbsd.org>2011-10-25 20:48:33 +0000
commitee1b1e437b0bcd95cfc8eef36b82adf7fa49da2b (patch)
tree4501d64b22814cb294a36d8c87d226cefbdc8dcb /usr.sbin
parent4bcc493d05ca4a6433492207cd040d7ec9847b77 (diff)
Reduce noice by fw_update on network errors, among others
ok deraadt@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/fw_update/fw_update.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/fw_update/fw_update.sh b/usr.sbin/fw_update/fw_update.sh
index fc433f00507..3f09d1df696 100644
--- a/usr.sbin/fw_update/fw_update.sh
+++ b/usr.sbin/fw_update/fw_update.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# $OpenBSD: fw_update.sh,v 1.8 2011/08/02 15:52:26 deraadt Exp $
+# $OpenBSD: fw_update.sh,v 1.9 2011/10/25 20:48:32 halex Exp $
# Copyright (c) 2011 Alexander Hall <alexander@beard.se>
#
# Permission to use, copy, modify, and distribute this software for any
@@ -76,11 +76,11 @@ fi
# Install missing firmware
if [ "$install" ]; then
verbose "Installing firmware files:$install."
- $PKG_ADD $nop $verbose $install
+ $PKG_ADD $nop $verbose $install 2>&-
fi
# Update installed firmware
if [ "$update" ]; then
verbose "Updating firmware files:$update."
- $PKG_ADD $nop $verbose -u $update
+ $PKG_ADD $nop $verbose -u $update 2>&-
fi