zerotier: fix option disabled
authorMoritz Warning <moritzwarning@web.de>
Wed, 18 Sep 2024 19:13:02 +0000 (21:13 +0200)
committerTianling Shen <cnsztl@gmail.com>
Fri, 20 Sep 2024 13:56:56 +0000 (21:56 +0800)
Signed-off-by: Moritz Warning <moritzwarning@web.de>
net/zerotier/files/etc/init.d/zerotier

index 910709859dcd05dce021ce8e282e9380c011728b..01aff425f37cf212cae6dd2da3ae7461f8d164a5 100755 (executable)
@@ -41,6 +41,7 @@ start_service() {
 
        if [ ${enabled} -eq 0 ]; then
                echo "disabled in /etc/config/zerotier"
+               return
        fi
 
        # Remove existing link or folder