Change-Id: I9e2319615f06e2896157adba0c8545c2e41fffdc
std::vector<std::string> fs_helpers::get_user_list(const int session_uid) try
{
auto const subsession_path = get_subsession_dir_by_uid(session_uid);
- std::vector<std::string> subsessions;
+ std::vector<std::string> subsessions = { SUBSESSION_INITIAL_SID };
/* NB: the `subsession` folder may not exist if no
* subsessions have been created before. */
}
return subsessions;
+} catch (std::runtime_error &ex) {
+ return {};
} catch (std::exception const &ex) {
std::cerr << "Exception " << ex.what() << std::endl
<< "while enumerating user subsessions [session_uid="