Skip to content

Commit 3c2deea

Browse files
authored
Merge pull request #301 from mekanix/feature/jexec
Fix typo in jexec
2 parents 4e12491 + ba1f1d7 commit 3c2deea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/jexec.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ get_backend() {
4545
JAIL_PATH=$(jls -j ${JNAME} path)
4646
if [ "${JAIL_PATH}" = "${BASE_WORKDIR}/${JNAME}" ]; then
4747
echo "base"
48-
elif [ "${JAIL_PATH}" = "${CBSD_WORKDIR}/${JNAME}" ]; then
48+
elif [ "${JAIL_PATH}" = "${CBSD_WORKDIR}/jails/${JNAME}" ]; then
4949
echo "cbsd"
5050
else
5151
echo "Unsupported jail backend" >&2

0 commit comments

Comments
 (0)