fix: TUN error message (#669)

This commit is contained in:
Kroese 2024-03-31 04:57:56 +02:00 committed by GitHub
parent 404aaadefc
commit 76355d4857
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,7 +114,7 @@ configureNAT() {
fi fi
if [ ! -c /dev/net/tun ]; then if [ ! -c /dev/net/tun ]; then
error "TUN device missing. $ADD_ERR --cap-add NET_ADMIN" && exit 25 error "TUN device missing. $ADD_ERR --device /dev/net/tun --cap-add NET_ADMIN" && exit 25
fi fi
# Check port forwarding flag # Check port forwarding flag