From cead8efdb4671c2bc6a1b4e008fc79e241a8707c Mon Sep 17 00:00:00 2001 From: dteske 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" \