Make openvpn --version exit with exit code 0
A message that is not in the archive (sent off-list or not yet received): [email protected]...
Antonio Quartulli
Acked-byHi,
Quoted 6 lines · Steffan Karger
For some reason, openvpn --version has since the beginning of time returned exit code 1. A quick sample among common unix utilities confirms that the rest of the world agrees with me that 0 makes more sense. Let's make openvpn --version exit with exit code 0 too.
Signed-off-by Steffan Karger <[email protected]...>
I also agree with Steffan - if --version was passed as argument than "success" behaviour is to print the related text and exit with success.
Like he said, this is what most other unix command line tools do.
I quickly tested the patch and I can confirm it does what it says :)
Signature · 1 line
Antonio Quartulli
Simple and to the point :-) - much more commit message than code change.
Your patch has been applied to the master branch.
commit 96ae327add16f06ac8bc28cfbf9ba0abfcc7129c
Author: Steffan Karger Date: Tue Jul 7 16:26:21 2020 +0200
Make openvpn --version exit with exit code 0
Signed-off-by: Steffan Karger <[email protected]...>
Acked-by: Antonio Quartulli <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/search?l=mid&[email protected]...
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering