Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2013 23:23:30 +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: r251277 - head/usr.sbin/bsdconfig/startup
Message-ID:  <201306022323.r52NNUCl096193@svn.freebsd.org>

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



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