Use yesno for more robustness

This commit is contained in:
Roy Marples
2007-11-22 13:37:24 +00:00
parent 5f37abddde
commit a1b9dabf4e
4 changed files with 9 additions and 9 deletions

View File

@@ -118,7 +118,7 @@ _wait_for_carrier() {
# Incase users don't want this nice feature ...
[ ${timeout} -le 0 ] && return 0
[ "${RC_PARALLEL}" = "yes" ] && efunc=einfo
yesno ${RC_PARALLEL} && efunc=einfo
${efunc} "Waiting for carrier (${timeout} seconds) "
while [ ${timeout} -gt 0 ] ; do
sleep 1