E_GSU_DIALOG dialog error
E_GSU_MKTEMP mktemp error
E_GSU_MENU_TREE invalid menu tree
-$gsu_errors
+${gsu_errors:-}
"
local a b i=0
while read a b; do
gsu_is_a_number()
{
result="$1"
- if (("$1" == "$1")) &> /dev/null; then
+ if [ "$1" -eq "$1" ] &> /dev/null; then
ret=$GSU_SUCCESS
else
ret=-$E_GSU_NOT_A_NUMBER