mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +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