Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > a28b0f0b343e9fb36049c4797a4b6889 > files > 1

idesk-0.7.5-5mdv2009.0.src.rpm

diff -rup idesk-0.7.5/src/XDesktopContainer.cpp ./idesk-0.7.5m/src/XDesktopContainer.cpp
--- idesk-0.7.5/src/XDesktopContainer.cpp	2005-11-17 08:54:48.000000000 +0100
+++ ./idesk-0.7.5m/src/XDesktopContainer.cpp	2008-05-22 11:08:03.000000000 +0200
@@ -590,7 +590,7 @@ void XDesktopContainer::runCommand(const
 {
      pid_t pid;   
     //fork and execute program
-    if (pid=fork() != 0) { //Primer proceso hijo
+    if (pid=fork() == 0) { //Primer proceso hijo: C'est moi le fils
 #ifdef HAVE_STARTUP_NOTIFICATION
 	    if (sn_context != NULL)
 		     sn_launcher_context_setup_child_process (sn_context);