| 1000 | } |
| 1001 | } |
| 1002 | catch (const fs::filesystem_error &) |
| 1003 | { |
| 1004 | std::cerr << getCurrentExceptionMessage(false) << '\n'; |
| 1005 | |
| 1006 | if (getuid() != 0) |
| 1007 | std::cerr << "\nRun with " << formatWithSudo("...") << "\n"; |
| 1008 | |
| 1009 | return getCurrentExceptionCode(); |
| 1010 | } |
| 1011 | catch (...) |
| 1012 | { |
| 1013 | std::cerr << getCurrentExceptionMessage(false) << '\n'; |
nothing calls this directly
no test coverage detected