Skip to content

Commit a5d24a8

Browse files
nda-cunhtintou
authored andcommitted
return 0 with --version parameter
1 parent 31cb511 commit a5d24a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2419,7 +2419,7 @@ int main (string[] args) {
24192419

24202420
if (opt_version) {
24212421
stdout.printf ("%s %s\n", Config.PROJECT_NAME, Config.PROJECT_VERSION);
2422-
return 1;
2422+
return 0;
24232423
}
24242424

24252425
// otherwise

0 commit comments

Comments
 (0)