Skip to content

Commit fc590e3

Browse files
author
root
committed
Fix typo
1 parent db105ae commit fc590e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ zone "$ZONE" {
1818
EOF
1919

2020
echo "creating zone file..."
21-
if [ 'z "$NS" ]
21+
if [ -z "$NS" ]
2222
then
2323
IFS="," read -r -a elements <<< "$NS"
2424
for element in ${elements[@]}
@@ -28,7 +28,7 @@ EOF
2828
done
2929
else
3030
SHORT="${NS%%.*}."
31-
LONG+="$NS."
31+
LONG="$NS."
3232
fi
3333
cat > /var/cache/bind/$ZONE.zone <<EOF
3434
\$ORIGIN .

0 commit comments

Comments
 (0)