aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki-calendar.in
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-15 14:39:07 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-15 14:39:07 -0400
commitacd99bfe11b16e0edef570c51f840b306032efaa (patch)
tree8100256cae80477904a8f8a3defead795610c1c1 /ikiwiki-calendar.in
parentd6bfe2a25ec20ea33a0537143afdfbb847e4183f (diff)
downloadikiwiki-acd99bfe11b16e0edef570c51f840b306032efaa.tar
ikiwiki-acd99bfe11b16e0edef570c51f840b306032efaa.tar.gz
propigate ikiwiki setup error out
Diffstat (limited to 'ikiwiki-calendar.in')
-rwxr-xr-xikiwiki-calendar.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/ikiwiki-calendar.in b/ikiwiki-calendar.in
index 6b6f693b3..cdfecff3f 100755
--- a/ikiwiki-calendar.in
+++ b/ikiwiki-calendar.in
@@ -59,4 +59,5 @@ foreach my $y ($startyear..$endyear) {
IkiWiki::rcs_commit_staged(gettext("calendar update"), undef, undef)
if $config{rcs};
-system("ikiwiki", "-setup", $setup, "-refresh");
+exec("ikiwiki", "-setup", $setup, "-refresh");
+die "failed to run ikiwiki -setup $setup -refresh\n";