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

Benedict Reuschling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by bcr:

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

commit 0f867da82701d21be4d0e1f283584c32649a01f9
Author:     Benedict Reuschling <[email protected]>
AuthorDate: 2024-05-29 20:08:38 +0000
Commit:     Benedict Reuschling <[email protected]>
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#.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.