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

Up mesa17 (17.2.4)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Nov 03 01:04:49 2017 +0100 (2017-11-03)
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