wok-next view lxdm/stuff/PostLogout @ rev 21565

updated coreutils (8.30 -> 8.32)
author Hans-G?nter Theisgen
date Mon Jun 22 15:58:01 2020 +0100 (2020-06-22)
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