diff options
author | sabetts <sabetts> | 2006-05-24 02:53:24 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-05-24 02:53:24 +0000 |
commit | c7bb48b55f9a7089ac8b278f1f5c0188e2f500f2 (patch) | |
tree | 2cc8d99d5d1e298c8dafc4454a8685819af19729 /src | |
parent | 92c2e7041113df19095544435592a03be0a643c9 (diff) | |
download | ratpoison-c7bb48b55f9a7089ac8b278f1f5c0188e2f500f2.zip |
* src/actions.c (spawn): pass cmd twice to execcl
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c index 8ace412..df23225 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2484,7 +2484,7 @@ spawn(char *cmd, int raw) #endif /* raw means don't run it through sh. */ if (raw) - execl (cmd, NULL); + execl (cmd, cmd, NULL); execl("/bin/sh", "sh", "-c", cmd, NULL); _exit(EXIT_FAILURE); } |