xrdp.pid cleanup too

This commit is contained in:
jsorg71 2006-02-12 19:29:16 +00:00
parent 37c764bdbb
commit da4df86fc0

View File

@ -39,6 +39,11 @@ check_up () {
then
if [ -e /var/run/sesman.pid ] ; then rm /var/run/sesman.pid ; fi
fi
# Cleanup : If xrdp isn't running, but the pid exists, erase it.
if [ "$xrdpup" == "" ]
then
if [ -e /var/run/xrdp.pid ] ; then rm /var/run/xrdp.pid ; fi
fi
}
case "$1" in