svn commit: r251277 - head/usr.sbin/bsdconfig/startup

Devin Teske dteske at FreeBSD.org
Sun Jun 2 23:23:30 UTC 2013


Author: dteske
Date: Sun Jun  2 23:23:29 2013
New Revision: 251277
URL: http://svnweb.freebsd.org/changeset/base/251277

Log:
  Fix a typo. In this case, the typo caused the f_noyes() invocation to
  display a global instead of the passed-argument; however since the global
  always has the same value as the passed argument, it made no difference in
  the realtime operation.

Modified:
  head/usr.sbin/bsdconfig/startup/rcdelete

Modified: head/usr.sbin/bsdconfig/startup/rcdelete
==============================================================================
--- head/usr.sbin/bsdconfig/startup/rcdelete	Sun Jun  2 23:20:46 2013	(r251276)
+++ head/usr.sbin/bsdconfig/startup/rcdelete	Sun Jun  2 23:23:29 2013	(r251277)
@@ -253,7 +253,7 @@ dialog_menu_confirm_delete()
 
 	# If asked to delete only one variable, simply ask and return
 	if [ $# -eq 1 ]; then
-		f_noyes "$msg_are_you_sure_you_want_to_delete" "$delete_vars"
+		f_noyes "$msg_are_you_sure_you_want_to_delete" "$1"
 		return $?
 	fi
 	# Not reached unless requested to delete multiple variables


More information about the svn-src-head mailing list