浏览代码

Check success of database import

Bob Mottram 9 年前
父节点
当前提交
d0b310f50c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/freedombone

+ 3
- 0
src/freedombone 查看文件

@@ -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