Daniel Gibbs 8 лет назад
Родитель
Сommit
56630ab66d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/command_mods_update.sh

+ 1 - 1
lgsm/functions/command_mods_update.sh

@@ -72,7 +72,7 @@ sleep 1
 # List all installed mods and apply update
 # Reset line value
 installedmodsline="1"
-while [ ${installedmodsline} -le ${installedmodscount} ]; do
+while [ "${installedmodsline}" -le "${installedmodscount}" ]; do
 	currentmod="$(sed "${installedmodsline}q;d" "${modsinstalledlistfullpath}")"
 	if [ -n "${currentmod}" ]; then
 		fn_mod_get_info