git: 0f867da827 - main - Update paths to match when destroying jails

From: Benedict Reuschling <bcr_at_FreeBSD.org>
Date: Wed, 29 May 2024 20:11:01 UTC
The branch main has been updated by bcr:

URL: https://cgit.FreeBSD.org/doc/commit/?id=0f867da82701d21be4d0e1f283584c32649a01f9

commit 0f867da82701d21be4d0e1f283584c32649a01f9
Author:     Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2024-05-29 20:08:38 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2024-05-29 20:08:38 +0000

    Update paths to match when destroying jails
    
    The paths when destroying a jail did not match with the ones used when
    creating them.  Update the paths to match again.
    
    PR:     276668
---
 documentation/content/en/books/handbook/jails/_index.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/documentation/content/en/books/handbook/jails/_index.adoc b/documentation/content/en/books/handbook/jails/_index.adoc
index 9465c4dccc..fbf3b2b80d 100644
--- a/documentation/content/en/books/handbook/jails/_index.adoc
+++ b/documentation/content/en/books/handbook/jails/_index.adoc
@@ -1006,14 +1006,14 @@ The second step is to remove these flags with man:chflags[1] by executing the fo
 
 [source,shell]
 ....
-# chflags -R 0 /usr/local/jails/classic
+# chflags -R 0 /usr/local/jails/containers/classic
 ....
 
 The third step is to delete the directory where the jail was:
 
 [source,shell]
 ....
-# rm -rf /usr/local/jails/classic
+# rm -rf /usr/local/jails/containers/classic
 ....
 
 Finally, it will be necessary to remove the jail entry in [.filename]#/etc/jail.conf# or in [.filename]#jail.conf.d#.