]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
consume all arguments we have processed in shift
authorMark Andrews <marka@isc.org>
Tue, 10 Dec 2019 23:23:20 +0000 (10:23 +1100)
committerMichał Kępień <michal@isc.org>
Fri, 10 Jan 2020 09:41:32 +0000 (10:41 +0100)
(cherry picked from commit 0ee0580fc9891a571b683997d782b1e906b9eac2)

bin/tests/system/catz/tests.sh

index 6fc5eed502c1bbd6d3de3fce38b297e919e77a6f..fa189cb4d37df27474c8a7cf5cb9e58c2e7d6f4b 100644 (file)
@@ -36,7 +36,7 @@ _wait_for_rcode() (
        ns="$3"
        qname="$4"
        file="$5"
-       shift 4
+       shift 5
        dig_with_opts "$ns" "$qtype" "$qname" "$@" >"$file" || return 1
        grep "status: $rcode" "$file" >/dev/null
 )