summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/jail5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/rc.d/jail b/etc/rc.d/jail
index 54cdee2..72ab62e 100755
--- a/etc/rc.d/jail
+++ b/etc/rc.d/jail
@@ -601,10 +601,7 @@ jail_start()
devfs_mount_jail "${_devdir}" ${_ruleset}
# Transitional symlink for old binaries
if [ ! -L "${_devdir}/log" ]; then
- __pwd="`pwd`"
- cd "${_devdir}"
- ln -sf ../var/run/log log
- cd "$__pwd"
+ ln -sf ../var/run/log "${_devdir}/log"
fi
fi
OpenPOWER on IntegriCloud