fix: use echolog for sing-box start failure

This commit is contained in:
Andrey Petelin
2025-11-26 15:47:12 +05:00
parent ff43f477e9
commit 14f704fcb8

View File

@@ -133,7 +133,7 @@ start_main() {
config_foreach add_cron_job "section" config_foreach add_cron_job "section"
/etc/init.d/sing-box start /etc/init.d/sing-box start
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Failed to start sing-box service" echolog "Failed to start sing-box service"
exit 1 exit 1
fi fi