diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-04-15 14:39:07 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-04-15 14:39:07 -0400 |
commit | acd99bfe11b16e0edef570c51f840b306032efaa (patch) | |
tree | 8100256cae80477904a8f8a3defead795610c1c1 | |
parent | d6bfe2a25ec20ea33a0537143afdfbb847e4183f (diff) | |
download | ikiwiki-acd99bfe11b16e0edef570c51f840b306032efaa.tar ikiwiki-acd99bfe11b16e0edef570c51f840b306032efaa.tar.gz |
propigate ikiwiki setup error out
-rwxr-xr-x | ikiwiki-calendar.in | 3 |
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"; |