]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
gui: Check return value of para_exec_cmdline_pid().
authorAndre Noll <maan@systemlinux.org>
Tue, 13 Mar 2012 21:30:34 +0000 (22:30 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 18 Mar 2012 20:08:36 +0000 (21:08 +0100)
external_cmd() calls this function to execute the given command.
However, as para_exec_cmdline_pid() may fail, e.g. because the
underlying call to fork() failed due to hitting the RLIMIT_NPROC
resource limit, we must check the return value. The other two command
dispatchers got this right, but external_cmd() did not.


No differences found