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"         \
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to