diff options
author | Alexander Hall <halex@cvs.openbsd.org> | 2012-01-31 20:01:13 +0000 |
---|---|---|
committer | Alexander Hall <halex@cvs.openbsd.org> | 2012-01-31 20:01:13 +0000 |
commit | 9bd9e77d82b6e87c8ba8e349845b318b62dfb859 (patch) | |
tree | a347a348535524ba530f2902312c5a9e7498e893 /distrib | |
parent | a182d09453e437b5fc5df8ca506b0c1d6fdd47a9 (diff) |
redirect stdout to /dev/null instead of closing it
ok krw@
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh index d205137969a..8dad7900c6e 100644 --- a/distrib/miniroot/install.sh +++ b/distrib/miniroot/install.sh @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sh,v 1.224 2011/08/17 03:42:14 todd Exp $ +# $OpenBSD: install.sh,v 1.225 2012/01/31 20:01:12 halex Exp $ # $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -217,7 +217,7 @@ if _time=$(ftp_time) && _now=$(date +%s) && \ if [[ $resp == y ]]; then # We do not need to specify TZ below since both date # invocations use the same one - date $(date -r "$(ftp_time)" "+%Y%m%d%H%M.%S") >&- + date $(date -r "$(ftp_time)" "+%Y%m%d%H%M.%S") >/dev/null # N.B. This will screw up SECONDS fi fi |