mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	set name of daemon stdout
This commit is contained in:
		
							parent
							
								
									e71bef4496
								
							
						
					
					
						commit
						37195f2128
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -120,7 +120,7 @@ void fork(const std::string & pidfile)
 | 
			
		|||
  if (!tmpdir)
 | 
			
		||||
    tmpdir = TMPDIR;
 | 
			
		||||
  std::string output = tmpdir;
 | 
			
		||||
  output += "/bitmonero.daemon.stdout.stderr";
 | 
			
		||||
  output += "/wownero.daemon.stdout.stderr";
 | 
			
		||||
  const int flags = O_WRONLY | O_CREAT | O_APPEND;
 | 
			
		||||
  const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
 | 
			
		||||
  if (open(output.c_str(), flags, mode) < 0)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue