mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 15:12:20 +00:00 
			
		
		
		
	#1308: Add updatedb (mlocate) pattern to sudo rule
* added updatedb(mlocate) to sudo rules * Add test Co-authored-by: phk <phk@terminal21.de> Co-authored-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
This commit is contained in:
		| @@ -12,6 +12,7 @@ from thefuck.types import Command | ||||
|     'need root', | ||||
|     'shutdown: NOT super-user', | ||||
|     'Error: This command has to be run with superuser privileges (under the root user on most systems).', | ||||
|     'updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db', | ||||
|     'must be root', | ||||
|     'You don\'t have access to the history DB.', | ||||
|     "error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/ipaddr.py'"]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user