Skip to content

Commit

Permalink
调整失败返回值
Browse files Browse the repository at this point in the history
  • Loading branch information
uuiid committed Dec 29, 2023
1 parent d0e8ab5 commit d51b0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,5 +343,5 @@ int main(int argc, char *argv[]) try {
return 0;
} catch (const std::exception &e) {
std::cout << fmt::format("{}", e.what()) << std::endl;
return 0;
return 1;
}

0 comments on commit d51b0c6

Please sign in to comment.