mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
chase-symlinks: Allow optional path with CHASE_EXTRACT_FILENAME
This allows helpers to set it unconditionally even if the caller is not interested in the path.
This commit is contained in:
parent
f461a28da7
commit
e5f2490200
@ -100,9 +100,6 @@ int chaseat(
|
||||
if ((flags & CHASE_STEP))
|
||||
assert(!ret_fd);
|
||||
|
||||
if ((flags & CHASE_EXTRACT_FILENAME))
|
||||
assert(ret_path);
|
||||
|
||||
if (isempty(path))
|
||||
path = ".";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user