mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-29 06:34:20 +00:00
Quiet grep in eac_workaround()
This commit is contained in:
parent
652c2fa4a0
commit
8f857476d0
@ -1460,8 +1460,8 @@ eac_workaround() {
|
|||||||
eac_hosts="127.0.0.1 modules-cdn.eac-prod.on.epicgames.com"
|
eac_hosts="127.0.0.1 modules-cdn.eac-prod.on.epicgames.com"
|
||||||
|
|
||||||
# Check if EAC workaround is already applied
|
# Check if EAC workaround is already applied
|
||||||
if grep "$eac_hosts" /etc/hosts; then
|
if grep -q "$eac_hosts" /etc/hosts; then
|
||||||
if grep "^$eac_hosts" /etc/hosts; then
|
if grep -q "^$eac_hosts" /etc/hosts; then
|
||||||
message info "The Easy Anti-Cheat workaround has already been applied.\nYou're all set!"
|
message info "The Easy Anti-Cheat workaround has already been applied.\nYou're all set!"
|
||||||
else
|
else
|
||||||
message info "The Easy Anti-Cheat workaround has already been applied, but may be commented out.\nNo changes have been made, please edit /etc/hosts manually."
|
message info "The Easy Anti-Cheat workaround has already been applied, but may be commented out.\nNo changes have been made, please edit /etc/hosts manually."
|
||||||
|
Loading…
Reference in New Issue
Block a user