kwo pushed a commit to branch master.

commit e08c91b9a7bd0f791da8437db1e3393859e45d7c
Author: Kim Woelders <[email protected]>
Date:   Sat Mar 30 20:43:44 2013 +0100

    Set startup id on apps started by snaps too.
---
 src/actions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/actions.c b/src/actions.c
index 8c3ff00..035ccb0 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -202,7 +202,7 @@ Espawn(int argc __UNUSED__, char **argv)
    if (fork())
       return;
 
-   ExecSetupEnv(EXEC_SET_LANG);
+   ExecSetupEnv(EXEC_SET_LANG | EXEC_SET_STARTUP_ID);
 
    execvp(argv[0], argv);
 

-- 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

Reply via email to