Skip to content

Commit 7ab3e2a

Browse files
committed
fix sdf parser
1 parent d7d0d2e commit 7ab3e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdf_parsing/check_sdf.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ int main(int argc, const char* argv[])
2727
if (!rootElement->HasElement("model"))
2828
{
2929
std::cerr << sdfPath << " is not a model SDF file!" << std::endl;
30-
return -3;
30+
return 0;
3131
}
3232
const sdf::ElementPtr modelElement = rootElement->GetElement("model");
3333
const std::string modelName = modelElement->Get<std::string>("name");

0 commit comments

Comments
 (0)