cloudflared: fix duplicate "run" command argument
authorBohdan Chubuk <[email protected]>
Sun, 9 Nov 2025 22:14:28 +0000 (00:14 +0200)
committerTianling Shen <[email protected]>
Mon, 10 Nov 2025 12:06:34 +0000 (20:06 +0800)
commit137a710fc2823098856585a293cb7ac9c5f505e2
treec12e4684e85f403c38ec92cd6a62cec6070febe4
parentd8456186ecb6dbbf7a60fa265362782d1598574e
cloudflared: fix duplicate "run" command argument

The init script was appending the 'run' subcommand twice. The first
instance was misplaced, causing a command syntax error by placing 'run'
before other tunnel options, which breaks the service.

This patch removes the first, incorrect 'run' argument, leaving the
second one in the correct position after all options have been set.

This fixes a regression introduced in pull request #27786.

Ref: https://github.com/openwrt/packages/pull/27786
Signed-off-by: Bohdan Chubuk <[email protected]>
net/cloudflared/Makefile
net/cloudflared/files/cloudflared.init