Date: Fri, 14 Mar 2014 03:00:02 +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: r263141 - head/usr.sbin/bsdconfig/share Message-ID: <201403140300.s2E30204035251@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dteske Date: Fri Mar 14 03:00:02 2014 New Revision: 263141 URL: http://svnweb.freebsd.org/changeset/base/263141 Log: Point hat! Fix a broken f_isinteger(). Modified: head/usr.sbin/bsdconfig/share/strings.subr Modified: head/usr.sbin/bsdconfig/share/strings.subr ============================================================================== --- head/usr.sbin/bsdconfig/share/strings.subr Fri Mar 14 02:58:48 2014 (r263140) +++ head/usr.sbin/bsdconfig/share/strings.subr Fri Mar 14 03:00:02 2014 (r263141) @@ -195,7 +195,7 @@ f_number_of_lines() f_isinteger() { local arg="${1#-}" - [ "${arg:-x}" = "${arg#[!0-9]*}" ] + [ "${arg:-x}" = "${arg%[!0-9]*}" ] } # f_uriencode [$text]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403140300.s2E30204035251>