From a3d519b6713d3efa8e4af0b837b9961dda30021d Mon Sep 17 00:00:00 2001 From: Promofaux Date: Wed, 14 Dec 2016 19:33:15 +0000 Subject: [PATCH] no need to remove list, because of echo > --- gravity.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gravity.sh b/gravity.sh index 9ddd7beb..58d0eef9 100755 --- a/gravity.sh +++ b/gravity.sh @@ -244,10 +244,6 @@ gravity_hostFormat() { # Format domain list as "192.168.x.x domain.com" echo -n "::: Formatting domains into a HOSTS file..." - if [[ -f ${localList} ]]; then - rm ${localList} - fi - if [[ -f /etc/hostname ]]; then hostname=$(