Skip to content
This repository was archived by the owner on Aug 13, 2022. It is now read-only.

Commit 574f505

Browse files
committed
fix relative paths
1 parent 7955ec9 commit 574f505

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

systemd-sysusers

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ fi
8484

8585
if [ ${inline} -eq 0 ]; then
8686
for file in "${args[@]}"; do
87+
if [ ${file:0:1} != "/" ]; then
88+
file="/${file}"
89+
fi
8790
parse_file "${file}"
8891
done
8992
if [ "${replace}" != '' ]; then

0 commit comments

Comments
 (0)