diff --git a/source/ublexec.cc b/source/ublexec.cc
index a08ddbe..e4c88a3 100644
--- a/source/ublexec.cc
+++ b/source/ublexec.cc
@@ -801,7 +801,7 @@ void MainWindow::is_user_wheel(){
}
void MainWindow::pars_users() {
- int uid_max = 65534;
+ int uid_max = 60000;
while (true) {
errno = 0;
passwd* entry = getpwent();
@@ -811,7 +811,7 @@ void MainWindow::pars_users() {
}
break;
}
- if ((entry->pw_uid >= 1000 && entry->pw_uid != uid_max) || entry->pw_uid == 0) {
+ if ((entry->pw_uid >= 1000 && entry->pw_uid < uid_max) || entry->pw_uid == 0) {
cmbUser->append(entry->pw_name);
}
}
diff --git a/ublexec.glade b/ublexec.glade
index 8dc4fe0..ca1e689 100644
--- a/ublexec.glade
+++ b/ublexec.glade
@@ -1112,7 +1112,7 @@ specified priority
True