Fix: return error if not in overwrite mode and file exists
authorDavid Goulet <dgoulet@efficios.com>
Wed, 12 Mar 2014 20:41:43 +0000 (16:41 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 12 Mar 2014 20:50:31 +0000 (16:50 -0400)
commitf9b57ab287f585d3ec0a196af5e05e00fe23f6eb
treee480719128b991e77982b7f51813ad967d544cc0
parent95a29ab808f93c74a910b2fc8ee25833bfbc46d7
Fix: return error if not in overwrite mode and file exists

For the save command, if the file is found and we are not in overwrite
mode, send back an new error indicating the client that the file already
exists.

Fixes #762

Signed-off-by: David Goulet <dgoulet@efficios.com>
include/lttng/lttng-error.h
src/bin/lttng-sessiond/save.c
src/common/error.c
This page took 0.024912 seconds and 4 git commands to generate.