error on empty
This commit is contained in:
parent
0e086d1582
commit
84d06df8e6
@ -1,5 +1,5 @@
|
|||||||
function g_num_valid_number {
|
function g_num_valid_number {
|
||||||
[ -z "$@" ] && return 1
|
[ -z "$1" ] && return 1
|
||||||
local f_arg=( "0" "$@" )
|
local f_arg=( "0" "$@" )
|
||||||
for (( i=0; i<=$#; i++ ))
|
for (( i=0; i<=$#; i++ ))
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user