mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +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:
parent
bef05a7537
commit
4d58cf6ff9
@ -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}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user