Skip to content

Commit

Permalink
Minor fix for TLS cert absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
prmoore77 committed Oct 25, 2023
1 parent d5895b7 commit 32bcb59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ The above will produce the following:
```

## Print help
To see all the available options run `./flight.sql --help`.
To see all the available options run `flight.sql --help`.

```bash
flight_sql --help
Expand Down
1 change: 1 addition & 0 deletions src/flight_sql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ int main(int argc, char **argv) {
std::cout << "--tls requires a certificate file path as the first entry!" << std::endl;
return 1;
} else {
tls_cert_path = fs::absolute(tls_cert_path).string();
if (!fs::exists(tls_cert_path)) {
std::cout << "TLS certificate file does not exist: " << tls_cert_path << std::endl;
return 1;
Expand Down

0 comments on commit 32bcb59

Please sign in to comment.