git: 7eb6a92e3f93 - main - jexec man: Explain how PATH is adjusted.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 19 May 2022 13:59:10 UTC
The branch main has been updated by arrowd (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=7eb6a92e3f938d419d3edc0399fc4c1d1018da15

commit 7eb6a92e3f938d419d3edc0399fc4c1d1018da15
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-05-19 05:59:41 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-05-19 13:58:32 +0000

    jexec man: Explain how PATH is adjusted.
    
    Add a sentence that explains that PATH is set to `/bin:/usr/bin`.
    I had to dive into `jexec.c` to find this out.
    
    Reviewed by:    markj
    Differential Revision: https://reviews.freebsd.org/D35251
---
 usr.sbin/jexec/jexec.8 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.sbin/jexec/jexec.8 b/usr.sbin/jexec/jexec.8
index f7ff3337ad46..8b28061c7037 100644
--- a/usr.sbin/jexec/jexec.8
+++ b/usr.sbin/jexec/jexec.8
@@ -55,6 +55,8 @@ Execute in a clean environment.
 The environment is discarded except for
 .Ev HOME , SHELL , TERM , USER ,
 and anything from the login class capability database for the user.
+.Ev PATH
+is set to "/bin:/usr/bin".
 .It Fl u Ar username
 The user name from host environment as whom the
 .Ar command