trace-cmd: Do not close dir if it was not opened

The fix for a memory leak with closedir incorrectly added the close
in the fail path. There is no failure condition after the opendir.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed