🐛 fixed error message

This commit is contained in:
William Katz 2021-10-15 14:27:39 -07:00 committed by GitHub
parent 4d54da90b8
commit 474b8b0d47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,7 +346,7 @@ void Bank::Load()
std::ifstream users_load(users_location, std::ios::out | std::ios::binary);
if (!users_load.is_open())
{
throw std::invalid_argument("Cannot find save file, to generate a new one run \"./bank\" (warning: will override file if it already exists)\n");
throw std::invalid_argument("Cannot find save file, to generate a new one run \"sudo ./bank\" (warning: will override file if it already exists)\n");
}
uint32_t buffer_size;