summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 9d6a917c01e..458c1cabda6 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.514 2009/05/03 21:21:26 deraadt Exp $
+# $OpenBSD: install.sub,v 1.515 2009/05/04 02:30:59 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1154,7 +1154,7 @@ startftplist() {
waitftplist() {
local _dot # XXX
- while [[ -n $(jobs $ftppid) ]]; do
+ while jobs $ftppid 2>/dev/null; do
echo -n . # XXX
_dot=. # XXX
sleep 0.2 # XXX