cronic doesn't report errors
This commit is contained in:
parent
97fbdae1aa
commit
afb33abc0c
|
@ -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 ]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue