From 26365211f413153308a0425bfb98d6f4dd27949e Mon Sep 17 00:00:00 2001 From: Igor Belitskiy Date: Thu, 16 Mar 2023 09:48:35 +0600 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/ublexec.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/ublexec.cc b/source/ublexec.cc index 41f1f5f..557053d 100644 --- a/source/ublexec.cc +++ b/source/ublexec.cc @@ -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) {