mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +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.
|
# Create /var/run and /var/lock symlinks.
|
||||||
for d in run lock; do
|
for d in run lock; do
|
||||||
if [ ! -h "var/$d" -a -d var/${d} ]; then
|
if [ ! -h "var/${d}" -a -d "var/${d}" ]; then
|
||||||
echo "/${d} must not be a directory, exiting!"
|
echo "/var/${d} must not be a directory, exiting!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue