From d9e9a0364517126f538c88ffe3658e02bcee5e0b Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Sun, 24 Nov 2024 09:50:01 +0100 Subject: [PATCH] s/FILE/LINE --- deployment/primary-dnsmanagerd-to-powerdns.sh | 2 +- deployment/primary-watchdog.sh | 2 +- deployment/secondary-watchdog.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/primary-dnsmanagerd-to-powerdns.sh b/deployment/primary-dnsmanagerd-to-powerdns.sh index ad0c271..e31cf24 100755 --- a/deployment/primary-dnsmanagerd-to-powerdns.sh +++ b/deployment/primary-dnsmanagerd-to-powerdns.sh @@ -38,4 +38,4 @@ action() { # - delete: a domain has been removed opts="-e moved_to -e delete -m" echo "inotifywait ${opts} --format '%:e %f' $DNSMANDIR" -inotifywait ${opts} --format '%:e %f' $DNSMANDIR | while read FILE; do action $FILE ; done +inotifywait ${opts} --format '%:e %f' $DNSMANDIR | while read LINE; do action $LINE ; done diff --git a/deployment/primary-watchdog.sh b/deployment/primary-watchdog.sh index 6ae3c00..420a86f 100755 --- a/deployment/primary-watchdog.sh +++ b/deployment/primary-watchdog.sh @@ -61,4 +61,4 @@ action() { # - delete: a domain has been removed opts="-e moved_to -e delete -m" echo "inotifywait ${opts} --format '%:e %f' $DIR" -inotifywait ${opts} --format '%:e %f' $DIR | while read FILE; do action $FILE ; done +inotifywait ${opts} --format '%:e %f' $DIR | while read LINE; do action $LINE ; done diff --git a/deployment/secondary-watchdog.sh b/deployment/secondary-watchdog.sh index adc4fa6..bc7c05e 100755 --- a/deployment/secondary-watchdog.sh +++ b/deployment/secondary-watchdog.sh @@ -39,4 +39,4 @@ action() { # - delete: a domain has been removed opts="-e close_write -e delete -m" echo "inotifywait ${opts} --format '%:e %f' $DIR" -inotifywait ${opts} --format '%:e %f' $DIR | while read FILE; do action $FILE ; done +inotifywait ${opts} --format '%:e %f' $DIR | while read LINE; do action $LINE ; done