diff --git a/install_easy.sh b/install_easy.sh index c2b2ca5..b21530a 100755 --- a/install_easy.sh +++ b/install_easy.sh @@ -977,11 +977,12 @@ install_openrc_init() service_start_sysv() { - echo \* starting zapret service - - "$INIT_SCRIPT" start || { - echo could not start zapret service - exitp 30 + [ -x "$INIT_SCRIPT" ] && { + echo \* starting zapret service + "$INIT_SCRIPT" start || { + echo could not start zapret service + exitp 30 + } } }