summaryrefslogtreecommitdiff
path: root/tests/tail-2/inotify-race.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tail-2/inotify-race.sh')
-rwxr-xr-xtests/tail-2/inotify-race.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tail-2/inotify-race.sh b/tests/tail-2/inotify-race.sh
index 6e1a7fa40..4ce05083f 100755
--- a/tests/tail-2/inotify-race.sh
+++ b/tests/tail-2/inotify-race.sh
@@ -83,7 +83,7 @@ gdb -nx --batch-silent \
--eval-command='quit' \
tail < /dev/null > /dev/null 2>&1 & pid=$!
-tail --pid=$pid -f tail.out | (read; kill $pid)
+tail --pid=$pid -f tail.out | (read REPLY; kill $pid)
# gdb has a bug in Debian's gdb-6.8-3 at least that causes it to not
# cleanup and exit correctly when it receives a SIGTERM, but