From: Joey Hess Date: Thu, 15 Apr 2010 18:39:07 +0000 (-0400) Subject: propigate ikiwiki setup error out X-Git-Tag: 3.20100427~163 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=acd99bfe11b16e0edef570c51f840b306032efaa;p=ikiwiki.git propigate ikiwiki setup error out --- 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";