Changeset b16fe48fe68f59a62a2c7aa300adaf48d16fa909
- Timestamp:
- 05/07/08 16:57:40
(1 week ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1210172260 +0300
- git-parent:
[8764d2a1a6b555eaaeec81bc953cc723608f5ebf]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1210172260 +0300
- Message:
Cache the --daemon value, so we remove the PID file iff we created it
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r146dad5 |
rb16fe48 |
|
| 310 | 310 | /* Check for daemon mode */ |
|---|
| 311 | 311 | #ifndef WIN32 |
|---|
| 312 | | if( config_GetInt( p_libvlc, "daemon" ) ) |
|---|
| | 312 | if( config_GetInt( p_libvlc, "daemon" ) > 0 ) |
|---|
| 313 | 313 | { |
|---|
| 314 | 314 | #ifdef HAVE_DAEMON |
|---|
| … | … | |
| 1034 | 1034 | char* psz_pidfile = NULL; |
|---|
| 1035 | 1035 | |
|---|
| 1036 | | if( config_GetInt( p_libvlc, "daemon" ) > 0 ) |
|---|
| | 1036 | if( b_daemon ) |
|---|
| 1037 | 1037 | { |
|---|
| 1038 | 1038 | psz_pidfile = config_GetPsz( p_libvlc, "pidfile" ); |
|---|