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

Up libgcrypt (1.8.4), libpgp-error (1.34), libxml2 (2.9.9), libxslt (1.1.33).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jan 20 16:02:24 2019 +0200 (2019-01-20)
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