Fix: destroy session removes the default config file
authorPartha Pratim Mukherjee <ppm.floss@gmail.com>
Sun, 5 Jul 2015 19:31:15 +0000 (15:31 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 6 Jul 2015 01:30:01 +0000 (21:30 -0400)
Destroy session command by default removes the default config file
without checking the current session. As a result when we call any
other command which expects a default session by calling
get_session_name() function, it fails.

This patch will fix this by checking that the default config file gets
removed only when destroy session is called with the current session.

Fixes: #887
Signed-off-by: Partha Pratim Mukherjee <ppm.floss@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.0244 seconds and 4 git commands to generate.