From f55fa35ebf426504289f10cb6ccd9ddff21f7279 Mon Sep 17 00:00:00 2001 From: cubuspl42 Date: Thu, 4 Jun 2015 18:38:09 +0200 Subject: [PATCH] Added mount rule $ mount /dev/sda2 /mnt/var mount: only root can do that --- thefuck/rules/sudo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index c40d57df..18de2001 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -12,7 +12,8 @@ patterns = ['permission denied', 'must be run as root', 'must be superuser', 'Need to be root', - 'you must be root to run this program.'] + 'you must be root to run this program.', + 'only root can do that'] def match(command, settings):