Standardize exit codes for samples.
Fixes #909 #910 PiperOrigin-RevId: 782951003 Change-Id: I093c0032f665bf34fecf71a75012b2b0c4c22aba
This commit is contained in:
committed by
Copybara-Service
parent
9a41d385c1
commit
5187a712be
+2
-1
@@ -16,6 +16,7 @@
|
||||
#include <cctype>
|
||||
#include <cstddef>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
|
||||
@@ -49,7 +50,7 @@ int finish(const char* msg = 0, mjModel* m = 0) {
|
||||
std::cout << msg << std::endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user