svn commit: r263146 - head/usr.sbin/bsdconfig/usermgmt/share

Devin Teske dteske at FreeBSD.org
Fri Mar 14 03:28:22 UTC 2014


Author: dteske
Date: Fri Mar 14 03:28:21 2014
New Revision: 263146
URL: http://svnweb.freebsd.org/changeset/base/263146

Log:
  Reduce the sleep cycle when using dialog(1) to 1-second.

Modified:
  head/usr.sbin/bsdconfig/usermgmt/share/group.subr

Modified: head/usr.sbin/bsdconfig/usermgmt/share/group.subr
==============================================================================
--- head/usr.sbin/bsdconfig/usermgmt/share/group.subr	Fri Mar 14 03:25:33 2014	(r263145)
+++ head/usr.sbin/bsdconfig/usermgmt/share/group.subr	Fri Mar 14 03:28:21 2014	(r263146)
@@ -217,7 +217,7 @@ f_group_add()
 	f_dialog_title "$title"
 	$alert "$msg_group_added"
 	f_dialog_title_restore
-	[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 2
+	[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 1
 
 	return $SUCCESS
 }
@@ -305,7 +305,7 @@ f_group_delete()
         f_dialog_title "$title"
 	$alert "$msg_group_deleted"
 	f_dialog_title_restore
-	[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 2
+	[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 1
 
 	return $SUCCESS
 }
@@ -473,7 +473,7 @@ f_group_edit()
 	f_dialog_title "$title"
 	$alert "$msg_group_updated"
 	f_dialog_title_restore
-	[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 2
+	[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 1
 
 	return $SUCCESS
 }


More information about the svn-src-all mailing list