From 7cf0da249ac184f03100144fa2a795c184b16660 Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Sat, 9 Jan 2016 23:13:43 +0000 Subject: [PATCH] Fix improper duration for f_dialog_pause() API MFC after: 3 days X-MFC-to: stable/10 --- usr.sbin/bsdconfig/share/dialog.subr | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.sbin/bsdconfig/share/dialog.subr b/usr.sbin/bsdconfig/share/dialog.subr index d7c2d2c3dfba..1e63aec593f3 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" \