summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-01-28 08:20:46 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-01-28 08:20:46 -0800
commit6ec02522fc543fd78011aaa775fad692916c8b51 (patch)
treed01a3459ee5088bd3c98f4dc881ee091789be4d4 /snapshots-create.sh
parentEnable new bzip2 calls. (diff)
downloadmastermirror-scripts-6ec02522fc543fd78011aaa775fad692916c8b51.tar.gz
mastermirror-scripts-6ec02522fc543fd78011aaa775fad692916c8b51.tar.bz2
mastermirror-scripts-6ec02522fc543fd78011aaa775fad692916c8b51.zip
snapshots-create: Hide an error that we do not care about
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'snapshots-create.sh')
-rwxr-xr-xsnapshots-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/snapshots-create.sh b/snapshots-create.sh
index 622b567..15795be 100755
--- a/snapshots-create.sh
+++ b/snapshots-create.sh
@@ -51,7 +51,7 @@ fi
# Find fastest BZIP2
for BZIP2_PROG in lbzip2 pbzip2 bzip2 FAIL ; do
- [ -n "$(type $BZIP2_PROG)" ] && break
+ [ -n "$(type $BZIP2_PROG 2>/dev/null)" ] && break
done
if [ $BZIP2_PROG == FAIL ]; then
echo "Could not find any BZIP2" 1>&2