zapret exist check fix

This commit is contained in:
Snowy-Fluffy
2025-03-22 23:50:51 +03:00
parent d6d2073536
commit 0393d13510

View File

@@ -27,8 +27,7 @@ check_zapret_exist() {
case "$INIT_SYSTEM" in
systemd)
if [ -f /etc/systemd/system/multi-user.target.wants/zapret.service ] && \
[ -f /etc/systemd/system/timers.target.wants/zapret-list-update.timer ]; then
if [ -f /etc/systemd/system/timers.target.wants/zapret-list-update.timer ]; then
service_exists=true
else
service_exists=false