summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmenus.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/menus.pm b/menus.pm
index 5fa4a2b3..b2fbe8c4 100755
--- a/menus.pm
+++ b/menus.pm
@@ -39,7 +39,7 @@ my (@user_info, @usernames);
setpwent();
do { @user_info = getpwent();
my ($uname, $uid) = @user_info[0,2];
- push (@usernames, $uname) if ($uid > 500);
+ push (@usernames, $uname) if ($uid > 500 && $uname eq $ENV{INITIAL_USER});
} while (@user_info);
my $combo = new Gtk::Combo;
$combo->set_popdown_strings (@usernames, "root");