3
0
Fork 0
forked from mirrors/nixpkgs

* Clean up ConsoleKit.

svn path=/nixos/trunk/; revision=17434
This commit is contained in:
Eelco Dolstra 2009-09-25 23:18:52 +00:00
parent 69f68c319d
commit a83e308856

View file

@ -138,7 +138,14 @@ in
''
pid=$(cat ${homeDir}/pid)
if test -n "$pid"; then
kill -9 $pid
kill $pid
fi
# !!! Hack: doesn't belong here.
pid=$(cat /var/run/ConsoleKit/pid)
if test -n "$pid"; then
kill $pid
rm /var/run/ConsoleKit/pid
fi
'';
};