mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
minor fixes for dns-cluster sync
This commit is contained in:
parent
3450cb4973
commit
66706582f9
2 changed files with 3 additions and 2 deletions
|
@ -92,7 +92,7 @@ done
|
|||
|
||||
# Update pipe
|
||||
pipe="$VESTA/data/queue/dns-cluster.pipe"
|
||||
str=$(grep -n "$SCRIPT $1 $2 &3$" $pipe | cut -f1 -d: | head -n1)
|
||||
str=$(grep -n "$SCRIPT $1 $2 $3$" $pipe | cut -f1 -d: | head -n1)
|
||||
if [ ! -z "$str" ]; then
|
||||
sed -i "$str d" $pipe
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue