Remove "sudo" from setcap command

This commit is contained in:
Dorian Niemiec 2024-05-09 16:46:27 +02:00
parent 5430a6e993
commit 796570a17f

View file

@ -152,7 +152,7 @@ if [ "$setcapis" == "" ]; then
else
##Grant networking permissions to Node.JS
echo "Granting networking permissions..."
sudo setcap cap_net_bind_service=+ep $nodejs
setcap cap_net_bind_service=+ep $nodejs
fi
##Copy SVR.JS files