Updated su command
This commit is contained in:
		
							parent
							
								
									9d97505e02
								
							
						
					
					
						commit
						e97053be2d
					
				| @ -39,7 +39,7 @@ pub fn login( | |||||||
| 
 | 
 | ||||||
|                     // Activate the generation before handing control back to greetd
 |                     // Activate the generation before handing control back to greetd
 | ||||||
|                     Command::new(format!( |                     Command::new(format!( | ||||||
|                         "su -c \"{}/activate\" {}", |                         "su - -c \"{}/activate\" {}", | ||||||
|                         session.generation, user.name |                         session.generation, user.name | ||||||
|                     )) |                     )) | ||||||
|                     .status() |                     .status() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Bulthuis
						Jan-Bulthuis