alas, root privs are required after all, for the GPIO stuff
This commit is contained in:
		
							parent
							
								
									e44619cea6
								
							
						
					
					
						commit
						44ee44b7fa
					
				@ -208,13 +208,11 @@ HRESULT Config_setup(int argc, char *argv[])
 | 
			
		||||
  HRESULT hr;
 | 
			
		||||
  GLOBAL_CONFIG from_commandline;
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
  if (geteuid() != 0)
 | 
			
		||||
  {
 | 
			
		||||
    Log(LFATAL, "upiwin must be run with root privileges");
 | 
			
		||||
    return E_ACCESSDENIED;
 | 
			
		||||
  }
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
  if (atexit(run_exit_funcs))
 | 
			
		||||
  {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user