Browse Source

Fix op_checkoccurencename() in web-add.sh (again)

I had it wrong (again) in 283d0bccad :-(

https://www.youtube.com/watch?v=TMy6X5cQul8
master
Ludovic Poujol 1 year ago
parent
commit
234ac67634
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      scripts/web-add.sh

+ 1
- 1
scripts/web-add.sh View File

@@ -1075,7 +1075,7 @@ op_checkoccurencename() {
fi
done

echo "$servernames" "$aliases" | grep -E "\b$name"
echo "$servernames" "$aliases" | grep -E "(^|\s)$name(\s|$)"
else
usage
fi


Loading…
Cancel
Save