Clarify error message

This commit is contained in:
the-sane 2023-01-20 19:38:02 -05:00
parent dd9bfc3351
commit 2dd9b51ab1

View File

@ -2080,7 +2080,7 @@ eac_workaround() {
# Try to modify /etc/hosts as root # Try to modify /etc/hosts as root
try_exec "printf '\n$eac_hosts #Star Citizen EAC workaround\n' >> /etc/hosts" try_exec "printf '\n$eac_hosts #Star Citizen EAC workaround\n' >> /etc/hosts"
if [ "$?" -eq 1 ]; then if [ "$?" -eq 1 ]; then
message info "Something went wrong. Unable to modify /etc/hosts.\n\nReturning to main menu." message info "Authentication failed or there was an error modifying /etc/hosts.\nSee terminal for more information.\n\nReturning to main menu."
return 0 return 0
fi fi