Pull restorefromfile out of eval

This commit is contained in:
2023-02-24 16:27:51 -05:00
parent a406bf82e9
commit 3ae237a68a

View File

@@ -1018,7 +1018,7 @@ restoreLicense() {
for f in "$RESTOREFILE" "$newest"; do for f in "$RESTOREFILE" "$newest"; do
if [[ -f "$f" ]]; then if [[ -f "$f" ]]; then
if execute "mediacenter$MVERSION" "/RestoreFromFile" "$f"; then if "mediacenter$MVERSION" "/RestoreFromFile" "$f"; then
return 0 return 0
fi fi
fi fi