Fix relative/chroot path
This commit is contained in:
		
							parent
							
								
									f7980310dc
								
							
						
					
					
						commit
						9b7374f768
					
				| @ -20,7 +20,7 @@ else | |||||||
|         echo -n "~> Do you want to add $name to sudoers? (Y/n) " |         echo -n "~> Do you want to add $name to sudoers? (Y/n) " | ||||||
|         read answer |         read answer | ||||||
|         if [ "$answer" == "y" ] || [ "$answer" == "Y" ]; then |         if [ "$answer" == "y" ] || [ "$answer" == "Y" ]; then | ||||||
|             usermod -a -G sudo $name |             arch-chroot /mnt usermod -a -G sudo $name | ||||||
|         fi |         fi | ||||||
|     fi |     fi | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user