diff --git a/src/linux/get_distro.cpp b/src/linux/get_distro.cpp index 88a4fc8e4d519ec7df8887e2967ff4c087296c6b..4f8ecd3c50358e899edc9fa6acd55b3bcde2a000 100644 --- a/src/linux/get_distro.cpp +++ b/src/linux/get_distro.cpp @@ -30,12 +30,6 @@ int open_file(std::string name, std::ifstream& fstream) { } std::string get_distro() { - /* in Linux: distro name + version + release - the year is 2016 and we have 2 "unified" ways to identify distros - and a couple regex to find the distro name files - update: I used to complain about Linux, then I tried coding for - Windows... */ - /* currently recorded distros are * Ubuntu * Debian @@ -147,5 +141,6 @@ std::string get_distro() { throw std::string("Release file empty."); } + throw std::string("No release file found."); }