aboutsummaryrefslogtreecommitdiffstats
path: root/bin/cron-wrapper
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-06-16 13:49:09 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-06-16 13:49:09 +0100
commitada3644144e2890eca71e312cca659902facdd81 (patch)
treea884580ebaf2a56d6a2b9ac08edcf123fdb7bcb3 /bin/cron-wrapper
parent5479bbe444a66219e0abe9c4ffabd17962e1597e (diff)
Show error if cron-wrapper fails.
Allow fetch-comments-24hs to be executed directly.
Diffstat (limited to 'bin/cron-wrapper')
-rwxr-xr-xbin/cron-wrapper2
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 $!;