X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=exec.c;h=3c810a3e4cb5c54ed37fec694084574157d8a784;hp=ca59f03d71e9da43667aec5c7b72025124bc9e9b;hb=eea9d1cae30df921ae2fd1771518b8b21dbd0daf;hpb=c50361fa65e6e6939cf6c4928a8094c57ba1360b diff --git a/exec.c b/exec.c index ca59f03d..3c810a3e 100644 --- a/exec.c +++ b/exec.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2008 Andre Noll + * Copyright (C) 2003-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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);