diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-06-16 13:49:09 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-06-16 13:49:09 +0100 |
commit | ada3644144e2890eca71e312cca659902facdd81 (patch) | |
tree | a884580ebaf2a56d6a2b9ac08edcf123fdb7bcb3 /bin/cron-wrapper | |
parent | 5479bbe444a66219e0abe9c4ffabd17962e1597e (diff) |
Show error if cron-wrapper fails.
Allow fetch-comments-24hs to be executed directly.
Diffstat (limited to 'bin/cron-wrapper')
-rwxr-xr-x | bin/cron-wrapper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cron-wrapper b/bin/cron-wrapper index b93695cb0..127fd8d8a 100755 --- a/bin/cron-wrapper +++ b/bin/cron-wrapper @@ -5,5 +5,5 @@ BEGIN { # set all the paths to the perl code require "$FindBin::Bin/../setenv.pl"; } -exec { $ARGV[0] } @ARGV; +exec { $ARGV[0] } @ARGV or die $!; |