cronic doesn't report errors
This commit is contained in:
parent
97fbdae1aa
commit
afb33abc0c
|
@ -24,16 +24,13 @@ else
|
||||||
ERR=$TRACE
|
ERR=$TRACE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $RESULT -ne 0 -o -s "$ERR" ]
|
if [ $RESULT -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "Cronic detected failure or error output for the command:"
|
echo "Cronic detected failure or error output for the command:"
|
||||||
echo "$@"
|
echo "$@"
|
||||||
echo
|
echo
|
||||||
echo "RESULT CODE: $RESULT"
|
echo "RESULT CODE: $RESULT"
|
||||||
echo
|
echo
|
||||||
echo "ERROR OUTPUT:"
|
|
||||||
cat "$ERR"
|
|
||||||
echo
|
|
||||||
echo "STANDARD OUTPUT:"
|
echo "STANDARD OUTPUT:"
|
||||||
cat "$OUT"
|
cat "$OUT"
|
||||||
if [ $TRACE != $ERR ]
|
if [ $TRACE != $ERR ]
|
||||||
|
|
|
@ -8722,6 +8722,8 @@ function install_gnu_social_plugin_sharings {
|
||||||
php scripts/checkschema.php
|
php scripts/checkschema.php
|
||||||
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings
|
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings
|
||||||
php scripts/seedsharings.php
|
php scripts/seedsharings.php
|
||||||
|
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs
|
||||||
|
php scripts/checkschema.php
|
||||||
|
|
||||||
# Languages
|
# Languages
|
||||||
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en/LC_MESSAGES
|
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en/LC_MESSAGES
|
||||||
|
|
Loading…
Reference in New Issue