Bladeren bron

Check success of database import

Bob Mottram 9 jaren geleden
bovenliggende
commit
d0b310f50c
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. 3
    0
      src/freedombone

+ 3
- 0
src/freedombone Bestand weergeven

@@ -9270,6 +9270,9 @@ function install_hubzilla {
9270 9270
         exit 252782
9271 9271
     fi
9272 9272
     mysql -u root --password="$MARIADB_PASSWORD" -D hubzilla < $HUBZILLA_PATH/install/schema_mysql.sql
9273
+    if [ ! "$?" = "0" ]; then
9274
+        exit 62952
9275
+    fi
9273 9276
 
9274 9277
     # create the config file
9275 9278
     echo '<?php' > $HUBZILLA_PATH/.htconfig.php