Browse Source

used correct var

pull/1255/head
Daniel Gibbs 8 years ago
parent
commit
33b9467009
  1. 2
      lgsm/functions/command_mods_remove.sh

2
lgsm/functions/command_mods_remove.sh

@ -107,7 +107,7 @@ fi
echo -en "removing ${modcommand} from ${modslockfile}..." echo -en "removing ${modcommand} from ${modslockfile}..."
sleep 0.5 sleep 0.5
fn_script_log "Removing: ${modcommand} from ${modsinstalledlist}" fn_script_log "Removing: ${modcommand} from ${modsinstalledlist}"
sed -i "/^${modcommand}$/d" "${modsinstalledlist}" sed -i "/^${modcommand}$/d" "${modsinstalledlistfullpath}"
local exitcode=$? local exitcode=$?
if [ ${exitcode} -ne 0 ]; then if [ ${exitcode} -ne 0 ]; then
fn_print_fail_eol_nl fn_print_fail_eol_nl

Loading…
Cancel
Save