svn commit: r293617 - head/usr.sbin/bsdconfig/share

Devin Teske dteske at FreeBSD.org
Sat Jan 9 23:13:44 UTC 2016


Author: dteske
Date: Sat Jan  9 23:13:43 2016
New Revision: 293617
URL: https://svnweb.freebsd.org/changeset/base/293617

Log:
  Fix improper duration for f_dialog_pause() API
  
  MFC after:	3 days
  X-MFC-to:	stable/10

Modified:
  head/usr.sbin/bsdconfig/share/dialog.subr

Modified: head/usr.sbin/bsdconfig/share/dialog.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/dialog.subr	Sat Jan  9 21:45:21 2016	(r293616)
+++ head/usr.sbin/bsdconfig/share/dialog.subr	Sat Jan  9 23:13:43 2016	(r293617)
@@ -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"         \


More information about the svn-src-all mailing list