mirror of
https://github.com/systemd/systemd.git
synced 2025-09-21 09:44:45 +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:
@@ -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 = ".";
|
||||
|
||||
|
Reference in New Issue
Block a user