From: David Goulet Date: Fri, 22 Apr 2011 14:56:59 +0000 (-0400) Subject: Fix segfault for ltt-sessiond pathname X-Git-Tag: v2.0-pre1~184 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=e8f07c636c9943a0e2a48113bb8135a6c4f5ebd7;hp=e8f07c636c9943a0e2a48113bb8135a6c4f5ebd7;p=lttng-tools.git Fix segfault for ltt-sessiond pathname The getenv sessiond path could return NULL so the strdup failed at this point. Also added the "not running" indication when listing pids that are not found in /proc. Signed-off-by: David Goulet ---