mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-06 11:36:50 +03:00
fix: use echolog for sing-box start failure
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user