From 5066b940c24b504ab58eeb48ceeaf4a054989b11 Mon Sep 17 00:00:00 2001 From: TsukasaYuki Date: Wed, 15 May 2019 12:07:25 +0800 Subject: [PATCH] Update dnsmasq_sniproxy.sh --- dnsmasq_sniproxy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsmasq_sniproxy.sh b/dnsmasq_sniproxy.sh index 0833596..50f35a1 100644 --- a/dnsmasq_sniproxy.sh +++ b/dnsmasq_sniproxy.sh @@ -7,7 +7,7 @@ green='\033[0;32m' yellow='\033[0;33m' plain='\033[0m' -[[ $EUID -ne 0 ]] && echo -e "[${red}Error${plain}] 需要root用户来执行该脚本!" && exit 1 +[[ $EUID -ne 0 ]] && echo -e "[${red}Error${plain}] You have use root!" && exit 1 disable_selinux(){ if [ -s /etc/selinux/config ] && grep 'SELINUX=enforcing' /etc/selinux/config; then