1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-26 07:55:01 +00:00

rc.d/var_run: Add missing $(dirname)

We intend to create the containing directory here. Fix this typo.

PR:		282939
MFC after:	3 days
This commit is contained in:
Cy Schubert 2024-11-25 09:11:47 -08:00
parent bef05a7537
commit 4d58cf6ff9

View File

@ -27,7 +27,7 @@ _var_run_load() {
_var_run_save() {
if [ ! -d $(dirname ${var_run_mtree}) ]; then
mkdir -p ${var_run_mtree}
mkdir -p $(dirname ${var_run_mtree})
fi
mtree -dcbj -p /var/run > ${var_run_mtree}
}