diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-06-18 22:20:16 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-06-18 22:20:16 +0200 |
commit | d8cc5b57de28615c53d0803ebcd92f39ee05f7d6 (patch) | |
tree | 4269b103af9c897b6d93ff0e38932057bb88c3db /src | |
parent | 8a398cfa8fed0369cd0fc42b16f1bd8bc6bfa7b4 (diff) | |
download | 0tdns-d8cc5b57de28615c53d0803ebcd92f39ee05f7d6.tar.gz 0tdns-d8cc5b57de28615c53d0803ebcd92f39ee05f7d6.zip |
remove unneeded sudo (we're running as root anyway)
Diffstat (limited to 'src')
-rwxr-xr-x | src/vpn_wrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpn_wrapper.sh b/src/vpn_wrapper.sh index 6540e65..e8483c7 100755 --- a/src/vpn_wrapper.sh +++ b/src/vpn_wrapper.sh @@ -76,7 +76,7 @@ if [ $? = 138 ]; then # run the provided command inside newly created namespace # under '0tdns' user; - sudo ip netns exec $NAMESPACE_NAME sudo -u 0tdns "$@" + ip netns exec $NAMESPACE_NAME sudo -u 0tdns "$@" if [ $? = 0 ]; then RETVAL=0 |