Skip to content

Commit f68a4f4

Browse files
sshedilcp
authored andcommitted
Do not exit with non zero status for version query
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
1 parent 8b6d116 commit f68a4f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mokutil.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,6 +2106,7 @@ main (int argc, char *argv[])
21062106
break;
21072107
case 'v':
21082108
printf ("%s\n", VERSION);
2109+
ret = 0;
21092110
goto out;
21102111
case 'h':
21112112
case '?':

0 commit comments

Comments
 (0)