Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2016 23:13:43 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r293617 - head/usr.sbin/bsdconfig/share
Message-ID:  <201601092313.u09NDh2B064079@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"         \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601092313.u09NDh2B064079>