Skip to content

Commit

Permalink
CLI return -1 on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
laoshanxi committed Dec 8, 2019
1 parent 3d9b779 commit a3b218f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ int main(int argc, const char* argv[])
catch (const std::exception & e)
{
std::cout << e.what() << std::endl;
return -1;
}
return 0;
}
Expand Down

0 comments on commit a3b218f

Please sign in to comment.