summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_offline_logstorage.h
diff options
context:
space:
mode:
authorBui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>2020-08-24 17:36:26 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-01-06 09:27:28 +0900
commitf79087dc4f45a54fda53ffafa350c18beeca9dbf (patch)
tree4b631f8fdc7dc67b4cf9d3bbcc4429eff07d70d0 /src/daemon/dlt_daemon_offline_logstorage.h
parent43c8c18c5130b5d4dfdddcb0b4c61a9155f65b86 (diff)
downloadDLT-daemon-f79087dc4f45a54fda53ffafa350c18beeca9dbf.tar.gz
dlt-daemon: complete logstorage path with '/'
Currently, the logstorage device cannot be disconnected if "/" is appended at the end of path. For example: int dlt.conf, the configuration is: OfflineLogstorageDirPath = /var/log/dlt_raw Then the control message as below won't work. "dlt-logstorage-ctrl -c 0 -p /var/log/dlt_raw/" The fix is to get the information the requested mount point via stat() to ensure the path of connected/disconnected control messages are validated properly. Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
Diffstat (limited to 'src/daemon/dlt_daemon_offline_logstorage.h')
0 files changed, 0 insertions, 0 deletions