diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-05-04 02:31:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-05-04 02:31:00 +0000 |
commit | d962faa0284bf0f03af91198ec7be50512c4d3ca (patch) | |
tree | 3aad1ef22f07c69503d275ad27d363a969f09c5b /distrib | |
parent | 44e88be1910160cbb862ef96b1e66298fbee1b98 (diff) |
cleaner job watcher by guenther
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
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 |