From 86ed0f2a2a07f6932db32f0c21aa6611fe7b33d2 Mon Sep 17 00:00:00 2001 From: Jus de Patate Date: Mon, 4 Feb 2019 10:35:21 +0100 Subject: [PATCH] Correct an error --- plugins/available/hosts.plugin.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/available/hosts.plugin.bash b/plugins/available/hosts.plugin.bash index 885748b6..25a29543 100644 --- a/plugins/available/hosts.plugin.bash +++ b/plugins/available/hosts.plugin.bash @@ -11,7 +11,7 @@ function hosts() { echo "Error : Provided IP is invalid" fi elif [ "$1" = "list" ]; then - cat hosts + cat /etc/hosts elif [ "$1" = "del" ] || [ "$1" = "remove" ]; then shift grep -v "$1" /etc/hosts > newhosts