diff options
author | Devin Teske <dteske@FreeBSD.org> | 2016-01-09 23:13:43 +0000 |
---|---|---|
committer | Devin Teske <dteske@FreeBSD.org> | 2016-01-09 23:13:43 +0000 |
commit | 7cf0da249ac184f03100144fa2a795c184b16660 (patch) | |
tree | 6535ec370f4b2cd9e56bedaa28d8c3dd41b74ac2 /usr.sbin | |
parent | 950678b4889c08d6e96303b66ee5577c1a64f1b8 (diff) | |
download | src-7cf0da249ac184f03100144fa2a795c184b16660.tar.gz src-7cf0da249ac184f03100144fa2a795c184b16660.zip |
Fix improper duration for f_dialog_pause() API
MFC after: 3 days
X-MFC-to: stable/10
Notes
Notes:
svn path=/head/; revision=293617
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bsdconfig/share/dialog.subr | 1 |
1 files changed, 0 insertions, 1 deletions
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" \ |