summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2016-01-09 23:13:43 +0000
committerdteske <dteske@FreeBSD.org>2016-01-09 23:13:43 +0000
commitcead8efdb4671c2bc6a1b4e008fc79e241a8707c (patch)
tree6535ec370f4b2cd9e56bedaa28d8c3dd41b74ac2 /usr.sbin
parent45fba34e6ed8eccd82640b3b8e0d3a356ef22d66 (diff)
downloadFreeBSD-src-cead8efdb4671c2bc6a1b4e008fc79e241a8707c.zip
FreeBSD-src-cead8efdb4671c2bc6a1b4e008fc79e241a8707c.tar.gz
Fix improper duration for f_dialog_pause() API
MFC after: 3 days X-MFC-to: stable/10
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bsdconfig/share/dialog.subr1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/share/dialog.subr b/usr.sbin/bsdconfig/share/dialog.subr
index d7c2d2c..1e63aec 100644
--- a/usr.sbin/bsdconfig/share/dialog.subr
+++ b/usr.sbin/bsdconfig/share/dialog.subr
@@ -1605,7 +1605,6 @@ f_dialog_pause()
$height $width
else
[ $duration -gt 0 ] && duration=$(( $duration - 1 ))
- [ $duration -gt 1 ] && duration=$(( $duration - 1 ))
height=$(( $height + 3 )) # Add height for progress bar
$DIALOG \
--title "$DIALOG_TITLE" \
OpenPOWER on IntegriCloud