Use -l option to dolcon in gui-shell.
authorFredrik Tolf <fredrik@dolda2000.com>
Tue, 14 Aug 2007 00:18:22 +0000 (02:18 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Tue, 14 Aug 2007 00:45:06 +0000 (02:45 +0200)
clients/gui-shell/dsh.c
clients/gui-shell/launch.c

index 85f06bf..0e459a6 100644 (file)
@@ -337,7 +337,7 @@ void dolcon(void)
     if((dcpid = fork()) == 0) {
        for(i = 3; i < FD_SETSIZE; i++)
            close(i);
-       execlp("dolcon", "dolcon", NULL);
+       execlp("dolcon", "dolcon", "-l", NULL);
        perror("dolcon");
        exit(127);
     }
index c23b130..604af4a 100644 (file)
@@ -65,7 +65,7 @@ int main(int argc, char **argv)
        execlp("doldacond-shell", "doldacond-shell", NULL);
        perror("doldacond-shell");
     } else {
-       execlp("dolcon", "dolcon", NULL);
+       execlp("dolcon", "dolcon", "-l", NULL);
        perror("dolcon");
     }
     return(127);