Fix: don't destroy the sockets if the snapshot was successful
authorJulien Desfossez <jdesfossez@efficios.com>
Tue, 9 Dec 2014 21:38:05 +0000 (16:38 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 10 Dec 2014 21:25:31 +0000 (16:25 -0500)
commitfa7fee60cac8659b3a980a6400939a5a24e0e61e
treed9687823c37afc90f0826740d9edbd725c4e20aa
parent150c54ffa2dd2891e3320ac2b5387aaa541086eb
Fix: don't destroy the sockets if the snapshot was successful

Missing a goto to skip the error condition that was destroying the
relayd sockets even if a snapshot was successful. We want to keep them
open to reuse them for the next snapshots.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
This page took 0.02557 seconds and 4 git commands to generate.