wok view lxdm/stuff/PostLogout @ rev 14064

shaarli: fix path + security fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 11:36:45 2013 +0100 (2013-02-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