Skip to content

Commit

Permalink
Include status code rather than errno for system calls
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Dec 11, 2024
1 parent cbe22dc commit 20cc7ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-bin/make-man-pages.pl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ sub _make_man {
'-M', "section:$section",
$input,
'-o', $output,
) == 0 or die "Failed to run pandoc: $!";
) == 0 or die "Failed to run pandoc: $?";
_pandoc_postprocess($output);
}
elsif ( $translator eq 'lowdown' ) {
Expand All @@ -72,7 +72,7 @@ sub _make_man {
'-M', "section:$section",
$input,
'-o', $output,
) == 0 or die "Failed to run lowdown: $!";
) == 0 or die "Failed to run lowdown: $?";
}
}

Expand Down

0 comments on commit 20cc7ad

Please # to comment.