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:
parent
13c8b01154
commit
0887f16e73
@ -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
|
||||
|
@ -713,6 +713,7 @@ CommandShutdown($$)
|
||||
my ($cl, $param) = @_;
|
||||
Log 0, "Server shutdown";
|
||||
DoSavefile();
|
||||
unlink($pidfilename) if($pidfilename);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user