mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
base-files: fix error message for /var/{run,lock} not being links
Closes: https://github.com/void-linux/void-packages/issues/36634
This commit is contained in:
parent
330d195fb5
commit
0a378de5f8
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ make_system_dirs() {
|
|||
|
||||
# Create /var/run and /var/lock symlinks.
|
||||
for d in run lock; do
|
||||
if [ ! -h "var/$d" -a -d var/${d} ]; then
|
||||
echo "/${d} must not be a directory, exiting!"
|
||||
if [ ! -h "var/${d}" -a -d "var/${d}" ]; then
|
||||
echo "/var/${d} must not be a directory, exiting!"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue