From 0ed10829668352d301131f0cdddd2140eb537d95 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Sat, 29 Jan 2022 14:14:07 +0100 Subject: [PATCH] Fix non-zero exit code for --version --- latexdiff-vc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/latexdiff-vc b/latexdiff-vc index 612f750..e45eb45 100755 --- a/latexdiff-vc +++ b/latexdiff-vc @@ -147,7 +147,8 @@ if ( $help ) { } if ( $version ) { - die $versionstring ; + print STDERR $versionstring ; + exit 0; } if ( $so ) {