diff options
Diffstat (limited to 'source/a/dcron/run-parts')
-rw-r--r-- | source/a/dcron/run-parts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/a/dcron/run-parts b/source/a/dcron/run-parts index 247d8c6e..65c778f3 100644 --- a/source/a/dcron/run-parts +++ b/source/a/dcron/run-parts @@ -39,10 +39,7 @@ for SCRIPT in $1/* ; do fi # If we've made it this far, then run the script if it's executable: if [ -x $SCRIPT ]; then - echo "$SCRIPT:" - echo - $SCRIPT 2>&1 - echo + $SCRIPT || echo "$SCRIPT failed." fi done |