Fixbug bak

This commit is contained in:
Andros Fenollosa 2020-01-03 17:24:27 +01:00
parent 24e9bf51b0
commit 91e40d6135

4
maza
View File

@ -89,10 +89,10 @@ start() {
stop() { stop() {
# Remove list to host file # Remove list to host file
sed -i .bak -n "/$START_TAG/,/$END_TAG/d" "$HOST_FILE" sed -i -n "/$START_TAG/,/$END_TAG/d" "$HOST_FILE"
# Remove temp file # Remove temp file
rm "$HOST_FILE.bak" #rm "$HOST_FILE.bak"
# Notify user # Notify user
echo "${COLOR_GREEN}DISABLED!${COLOR_RESET}" echo "${COLOR_GREEN}DISABLED!${COLOR_RESET}"