-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | noncore/apps/opie-console/consoleconfigwidget.cpp | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -25,2 +25,3 @@ | |||
25 | * #1558 - Fixed opie-login breaking opie startup (mickeyl) | 25 | * #1558 - Fixed opie-login breaking opie startup (mickeyl) |
26 | * #1560 - Fixed Opie-Console picking up the wrong shell (bluelightning) | ||
26 | * #1570 - Confirmation needed befor Restore a backup and overwrite local data (ar) | 27 | * #1570 - Confirmation needed befor Restore a backup and overwrite local data (ar) |
diff --git a/noncore/apps/opie-console/consoleconfigwidget.cpp b/noncore/apps/opie-console/consoleconfigwidget.cpp index a6ad8d2..27d9a3f 100644 --- a/noncore/apps/opie-console/consoleconfigwidget.cpp +++ b/noncore/apps/opie-console/consoleconfigwidget.cpp | |||
@@ -10,3 +10,3 @@ | |||
10 | #include <sys/types.h> | 10 | #include <sys/types.h> |
11 | 11 | #include <unistd.h> | |
12 | 12 | ||
@@ -73,4 +73,5 @@ void ConsoleConfigWidget::load( const Profile& prof ) { | |||
73 | char *shell = "/bin/sh"; | 73 | char *shell = "/bin/sh"; |
74 | int uid = getuid(); | ||
74 | 75 | ||
75 | while ( (ent = getpwent()) != 0 ) { | 76 | ent = getpwuid(uid); |
76 | if (ent->pw_shell != "") { | 77 | if (ent->pw_shell != "") { |
@@ -78,3 +79,2 @@ void ConsoleConfigWidget::load( const Profile& prof ) { | |||
78 | } | 79 | } |
79 | } | ||
80 | 80 | ||