projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf4c97
)
No need to check the return value of para_strdup().
author
Andre Noll
<maan@systemlinux.org>
Sun, 16 Nov 2008 00:22:45 +0000
(
01:22
+0100)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 16 Nov 2008 00:22:45 +0000
(
01:22
+0100)
exec.c
patch
|
blob
|
history
diff --git
a/exec.c
b/exec.c
index
ca59f03
..
bafae24
100644
(file)
--- a/
exec.c
+++ b/
exec.c
@@
-139,8
+139,6
@@
int para_exec_cmdline_pid(pid_t *pid, const char *cmdline, int *fds)
char **argv;
char *tmp = para_strdup(cmdline);
- if (!tmp)
- exit(EXIT_FAILURE);
argc = split_args(tmp, &argv, " \t");
ret = para_exec(pid, argv[0], argv, fds);
free(argv);