Skip to content

Commit

Permalink
Fix invalid check
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberium committed Dec 25, 2023
1 parent 4ab107f commit 52e2964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions InstallFullDB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ function create_and_fill_char_db()
fi
fi

if [ "${STATUS_CHAR_DB_FOUND}" -eq true ] AND [ ! -z $DB_CHARDB_VERSION ]; then
if [ "${STATUS_CHAR_DB_FOUND}" = true ] && [ ! -z $DB_CHARDB_VERSION ]; then
backup_create "CHAR"
fi

Expand All @@ -1799,7 +1799,7 @@ function create_and_fill_realm_db()
fi
fi

if [ "${STATUS_REALM_DB_FOUND}" -eq true ] AND [ ! -z $DB_REALMDB_VERSION ]; then
if [ "${STATUS_REALM_DB_FOUND}" = true ] && [ ! -z $DB_REALMDB_VERSION ]; then
backup_create "REALM"
fi

Expand Down

0 comments on commit 52e2964

Please sign in to comment.