From afb33abc0c86e44e8e061de188b453894690ac4a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 14 May 2016 13:36:19 +0100 Subject: [PATCH] cronic doesn't report errors --- src/cronic | 5 +---- src/freedombone | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/cronic b/src/cronic index b8404792..2e8e9b27 100644 --- a/src/cronic +++ b/src/cronic @@ -24,16 +24,13 @@ else ERR=$TRACE fi -if [ $RESULT -ne 0 -o -s "$ERR" ] +if [ $RESULT -ne 0 ] then echo "Cronic detected failure or error output for the command:" echo "$@" echo echo "RESULT CODE: $RESULT" echo - echo "ERROR OUTPUT:" - cat "$ERR" - echo echo "STANDARD OUTPUT:" cat "$OUT" if [ $TRACE != $ERR ] diff --git a/src/freedombone b/src/freedombone index a3a7078c..41b56b4a 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8722,6 +8722,8 @@ function install_gnu_social_plugin_sharings { php scripts/checkschema.php cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings php scripts/seedsharings.php + cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs + php scripts/checkschema.php # Languages cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en/LC_MESSAGES