Убрал комментарии

pull/17/head
Igor Belitskiy 3 years ago
parent ab1193b8cb
commit 26365211f4

@ -841,13 +841,6 @@ unsigned short MainWindow::read_uid_min_max(string filename, string search){
}
void MainWindow::pars_users() {
//string str_uid_max = this->call("grep \"^UID_MAX\" /etc/login.defs | xargs | cut -d ' ' -f 2)");
//int uid_max = 0;
//if (str_uid_max.length() > 3){
// int uid_max = stoi(str_uid_max);
//}
//else{
unsigned short uid_min = this->read_uid_min_max("/etc/login.defs", "UID_MIN");
unsigned short uid_max = this->read_uid_min_max("/etc/login.defs", "UID_MAX");
while (true) {

Loading…
Cancel
Save