Fix further stickler complaint.

Signed-off-by: DL6ER <dl6er@dl6er.de>
pull/2832/head
DL6ER 5 years ago
parent 0405aaa3da
commit efe8216445
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -12,7 +12,7 @@
upgrade_gravityDB(){
local version
version=$(sqlite3 "$1" "SELECT "value" FROM "info" WHERE "property" = 'version';")
version="$(sqlite3 "$1" "SELECT \"value\" FROM \"info\" WHERE \"property\" = 'version';")"
if [[ "$version" == "1" ]]; then
sqlite3 "$1" < "/etc/.pihole/advanced/Scripts/database_migration/gravity/1_to_2.sql"

Loading…
Cancel
Save