From 989c8e1965e39cb2d9c49520fc1e1ceaf37e86a7 Mon Sep 17 00:00:00 2001 From: Gurkirat Singh Date: Sat, 8 Jun 2019 03:15:51 +0530 Subject: [PATCH] typo fixed --- plugins/available/hosts.plugin.bash | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/available/hosts.plugin.bash b/plugins/available/hosts.plugin.bash index 3977ddad..f7fba2bf 100755 --- a/plugins/available/hosts.plugin.bash +++ b/plugins/available/hosts.plugin.bash @@ -14,7 +14,6 @@ function ___hosts_add { else echo "$1 $2" | sudo tee -a $___HOST_FILE > /dev/null echo "Added $1 $2 to hosts file" - exit 1 fi } @@ -44,7 +43,7 @@ function ___hosts_help { echo -e "\tremove\tRemoved the entry from $___HOST_FILE based on host_name" echo echo -e "examples:" - echo -e "\t$ host add 127.0.0.1 my_localhost" + echo -e "\t$ hosts add 127.0.0.1 my_localhost" }