clone: more typos

This commit is contained in:
tschettervictor
2025-01-18 22:14:13 -07:00
committed by GitHub
parent 73b9b14931
commit ef8a4e209f

View File

@@ -305,11 +305,11 @@ clone_jail() {
fi
else
# Perform container file copy (archive mode)
check_target_is_stopped "${TARGET}" || if [ "${FORCE}" -eq 1 ]; then
check_target_is_stopped "${TARGET}" || if [ "${AUTO}" -eq 1 ]; then
bastille stop "${TARGET}"
else
error_notify "Jail is running."
error_exit "Use [-f|--force] to force stop the jail."
error_exit "Use [-a|--auto] to force stop the jail."
fi
cp -a "${bastille_jailsdir}/${TARGET}" "${bastille_jailsdir}/${NEWNAME}"
fi