From 9f48b4e40ea69b90f61ac2e35b3b272f9cc31674 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 25 May 2021 17:42:34 +0200 Subject: [PATCH] man: documet that loginctl {terminate|kill}-{session|user} take the empty string, optionally Fixes: #19711 --- man/loginctl.xml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/man/loginctl.xml b/man/loginctl.xml index 56a86e56efe..bef3be71c96 100644 --- a/man/loginctl.xml +++ b/man/loginctl.xml @@ -113,18 +113,18 @@ terminate-session ID - Terminates a session. This kills all processes - of the session and deallocates all resources attached to the - session. + Terminates a session. This kills all processes of the session and deallocates all + resources attached to the session. If the argument is specified as empty string the session invoking + the command is terminated. kill-session ID - Send a signal to one or more processes of the - session. Use to select which - process to kill. Use to select the - signal to send. + Send a signal to one or more processes of the session. Use + to select which process to kill. Use to + select the signal to send. If the argument is specified as empty string the signal is sent to the + session invoking the command. @@ -184,17 +184,17 @@ terminate-user USER - Terminates all sessions of a user. This kills - all processes of all sessions of the user and deallocates all - runtime resources attached to the user. + Terminates all sessions of a user. This kills all processes of all sessions of the + user and deallocates all runtime resources attached to the user. If the argument is specified as + empty string the sessions of the user invoking the command are terminated. kill-user USER - Send a signal to all processes of a user. Use - to select the signal to send. - + Send a signal to all processes of a user. Use to select + the signal to send. If the argument is specified as empty string the signal is sent to the sessions + of the user invoking the command.