Trivial fix for bug #36660

Sergio Visinoni piffio at piffio.org
Thu Dec 5 17:17:43 GMT 2002


* Sergio Visinoni (piffio at arklinux.org) wrote:
> Hi all,
> the trivial attached patch fixes the bug reported at:
> 
> http://bugs.kde.org/show_bug.cgi?id=36660

Well, the patch sent earlier fixes only the konsole schema used
when running konsolesu.
To make kdesu have the same behaviuor you can use the attached patch which
is as trivial as the previous one.

Any reason to not do this by default?

greeting,
sergio
-------------- next part --------------
--- kdelibs/kdesu/su.cpp.ark	Mon Dec  2 02:57:33 2002
+++ kdelibs/kdesu/su.cpp	Mon Dec  2 02:59:13 2002
@@ -75,6 +75,7 @@
 	setTerminal(true);
 
     QCStringList args;
+    args += "-l";
     if ((m_Scheduler != SchedNormal) || (m_Priority > 50)) {
 	needSbin=true;
 	args += "root";


More information about the kde-core-devel mailing list