Skip to content
Snippets Groups Projects
Commit 6e70fcf0 authored by Ilya Verbin's avatar Ilya Verbin Committed by Vladimir Davydov
Browse files

log: fix inability to start from the root directory

The function remove_root_directory, which is used for obtaining module
names for per-module logging, throws an error when current working
directory is `/'.
Rewrite it to fix the bug and rename it to strip_cwd_from_path to make
the name more clear.

Closes #8158

NO_DOC=unreleased
NO_CHANGELOG=unreleased
parent 2f8e2d98
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment