Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 1d0b409

Browse files
author
Brice Figureau
committed
Merge pull request masterzen#28 from dentcat/master
Actually exit after printing version message
2 parents 2a88556 + 9f36c4a commit 1d0b409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql-snmp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ sub run
11041104
'man',
11051105
'usage',
11061106
'verbose|v+',
1107-
'version|V' => sub {VersionMessage()},
1107+
'version|V' => sub {VersionMessage(); exit 0;},
11081108
) or pod2usage(-verbose => 0);
11091109

11101110
pod2usage(-verbose => 0) if $opt{usage};

0 commit comments

Comments
 (0)