From a9ff3f59686b22287bc7362a9b69fbedbe066233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Clara=20Daia=20Hilgenberg=20Dar=C3=BA?= <cdhd12@inf.ufpr.br> Date: Thu, 13 Oct 2016 11:46:08 -0300 Subject: [PATCH] Remove saucy comment and correct grammar --- src/linux/get_distro.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/linux/get_distro.cpp b/src/linux/get_distro.cpp index 88a4fc8e..4f8ecd3c 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."); } -- GitLab