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

Commit 9f36c4a

Browse files
committed
Actually exit after printing version message
Signed-off-by: Masood Behabadi <[email protected]>
1 parent 2a88556 commit 9f36c4a

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)