diff options
author | Ted Gould <ted@gould.cx> | 2012-09-14 14:28:15 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-09-14 14:28:15 -0500 |
commit | c9967bd1db22e665744e9752acacd659911c3276 (patch) | |
tree | c3d12aab963fb34effc1e98bc2abfec6cabb51d9 | |
parent | 1a5fc013c97261991805c1a0b4344d0344926db9 (diff) | |
download | lightdm-remote-session-remoteconfigure-c9967bd1db22e665744e9752acacd659911c3276.tar.gz lightdm-remote-session-remoteconfigure-c9967bd1db22e665744e9752acacd659911c3276.tar.bz2 lightdm-remote-session-remoteconfigure-c9967bd1db22e665744e9752acacd659911c3276.zip |
Fleshing out the wrapper
-rw-r--r-- | uccsconfigure-session-wrapper.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/uccsconfigure-session-wrapper.c b/uccsconfigure-session-wrapper.c index 8a4ade3..f1cdf10 100644 --- a/uccsconfigure-session-wrapper.c +++ b/uccsconfigure-session-wrapper.c @@ -1,7 +1,14 @@ +#include <stdlib.h> +#include <unistd.h> int main (int argc, char * argv[]) { + char * args[2]; + args[0] = PKGDATADIR "/uccsconfigure-session"; + args[1] = NULL; + + execvp(args[0], args); return 0; } |