2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

Delete the pidfile

git-svn-id: https://svn.fhem.de/fhem/trunk@9 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2007-02-07 16:15:35 +00:00
parent 13c8b01154
commit 0887f16e73
2 changed files with 4 additions and 0 deletions

View File

@ -301,3 +301,6 @@
- feature: renamed fhz1000 to fhem
- feature: added HISTORY and README.DEV
- doc: Added description of attribute "model".
- bugfix: delete the pidfile when terminating. (reported by Martin and Peter)
- TODO: feature: add direction to the logs
- TODO: bugfix: more thorough serial line initialization

View File

@ -713,6 +713,7 @@ CommandShutdown($$)
my ($cl, $param) = @_;
Log 0, "Server shutdown";
DoSavefile();
unlink($pidfilename) if($pidfilename);
exit(0);
}