From 55cfdda203a639727b5b73f7f9c068802e29b134 Mon Sep 17 00:00:00 2001 From: SanketDG Date: Thu, 30 Apr 2015 19:50:37 +0530 Subject: [PATCH] add rule for shutdown command --- 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 fb0226af..630f918f 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -8,7 +8,8 @@ patterns = ['permission denied', 'This command has to be run under the root user.', 'This operation requires root.', 'You need to be root to perform this command.', - 'requested operation requires superuser privilege'] + 'requested operation requires superuser privilege', + 'Need to be root'] def match(command, settings):