Point hat! Fix a broken f_isinteger().

This commit is contained in:
Devin Teske 2014-03-14 03:00:02 +00:00
parent 2c284d9395
commit 2fb115122e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263141

View File

@ -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]