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