소스 검색

Check success of database import

Bob Mottram 9 년 전
부모
커밋
d0b310f50c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      src/freedombone

+ 3
- 0
src/freedombone 파일 보기

9270
         exit 252782
9270
         exit 252782
9271
     fi
9271
     fi
9272
     mysql -u root --password="$MARIADB_PASSWORD" -D hubzilla < $HUBZILLA_PATH/install/schema_mysql.sql
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
     # create the config file
9277
     # create the config file
9275
     echo '<?php' > $HUBZILLA_PATH/.htconfig.php
9278
     echo '<?php' > $HUBZILLA_PATH/.htconfig.php