commit:     ad3f14aea574e5fca74516074ba4f6f670a633c5
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Wed Oct 30 11:47:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 30 11:47:03 2024 +0000
URL:        
https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=ad3f14ae

Update a comment in esyslog() in view of POSIX-1.2024

As of POSIX-1.2024, logger(1) supports the -p and -t options as
standard.

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>

 functions/rc.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/functions/rc.sh b/functions/rc.sh
index 101b99e..7297d75 100644
--- a/functions/rc.sh
+++ b/functions/rc.sh
@@ -136,8 +136,7 @@ esyslog()
                shift 2
                msg=$*
                if _is_visible "${msg}"; then
-                       # This is not strictly portable because POSIX defines
-                       # no options whatsoever for logger(1).
+                       # The -p and -t options are standard as of POSIX-1.2024.
                        logger -p "${pri}" -t "${tag}" -- "${msg}"
                fi
        fi

Reply via email to