]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
propigate ikiwiki setup error out
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 15 Apr 2010 18:39:07 +0000 (14:39 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 15 Apr 2010 18:39:07 +0000 (14:39 -0400)
ikiwiki-calendar.in

index 6b6f693b3ec838b0a52aa402198880a02e9ebfc9..cdfecff3f3a41e2c5c2ff3d2ef9230eb1453d6df 100755 (executable)
@@ -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";