Don't use sudo (runs as root via puppet anyway)

This commit is contained in:
Tom Ford 2016-07-08 14:47:25 +01:00 committed by GitHub
parent 84782740dd
commit 34ff2b9491

View File

@ -14,6 +14,6 @@ param_lookup "${zone_name}" | while read Z; do
if [ $# == 1 ]; then
echo $Z
else
sudo rndc "${@:1:$(($# - 1))}" $Z
/usr/sbin/rndc "${@:1:$(($# - 1))}" $Z
fi
done