Преглед изворни кода

No return value check on gnusocial due to expected warnings

Bob Mottram пре 9 година
родитељ
комит
23d1dfbdbe
1 измењених фајлова са 6 додато и 5 уклоњено
  1. 6
    5
      src/freedombone

+ 6
- 5
src/freedombone Прегледај датотеку

@@ -8811,11 +8811,12 @@ function install_gnu_social {
8811 8811
                             --admin-pass="$MICROBLOG_ADMIN_PASSWORD" \
8812 8812
                             --site-profile="community" \
8813 8813
                             --ssl=${gnu_social_ssl}
8814
-    if [ ! "$?" = "0" ]; then
8815
-        # failed to install
8816
-        echo $'Could not install GNU Social'
8817
-        exit 72357
8818
-    fi
8814
+    # There can be a lot of warnings here so the return value check is disabled
8815
+    #if [ ! "$?" = "0" ]; then
8816
+    #    # failed to install
8817
+    #    echo $'Could not install GNU Social'
8818
+    #    exit 72357
8819
+    #fi
8819 8820
 
8820 8821
     # check microblog has a config file
8821 8822
     microblog_config_file=/var/www/$MICROBLOG_DOMAIN_NAME/htdocs/config.php