dnsmasq: fix ismounted check
authorOldřich Jedlička <oldium.pro@gmail.com>
Sun, 7 Nov 2021 20:56:12 +0000 (21:56 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 23 Nov 2021 14:57:52 +0000 (14:57 +0000)
commit1818157daa538a97bb128d40750bfba6c98d3abe
tree343e51e0fdbb5fa24d7bcc7a22bc615d5ebb3e56
parent50bc06e774f89517f98c89c76a7626f35c3ff659
dnsmasq: fix ismounted check

Fix the return value, shell return codes should be 0 to indicate success
(i.e. mount point found), 1 should be failure (i.e. mount point not-found).

Fixes: ac4e8aa ("dnsmasq: fix more dnsmasq jail issues")
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
package/network/services/dnsmasq/files/dnsmasq.init