wok-6.x view lxdm/stuff/PostLogout @ rev 23248

updated nnn (2.9 -> 3.0)
author Hans-G?nter Theisgen
date Wed Mar 25 11:33:56 2020 +0100 (2020-03-25)
parents
children
line source
1 #!/bin/sh
2 #
4 # LXDM does not clear the last user's processes.
5 ps -o "user,pid" | fgrep $USER | while read user pid
6 do
7 kill $pid
8 done