]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use file descriptor 3 to save file.prev
authorMark Andrews <marka@isc.org>
Wed, 5 Oct 2022 06:12:16 +0000 (17:12 +1100)
committerMark Andrews <marka@isc.org>
Tue, 8 Nov 2022 16:44:05 +0000 (16:44 +0000)
commit8cda49f604a5490fda2b8ea47a6f3dba72260b56
tree2ee7612462e7eacfbb8e3ce90677409913c43839
parentf7ad07250118eae7ec4aa43aadbb1932ec639496
Use file descriptor 3 to save file.prev

If 'set -x' is in effect file.prev gets populated with debugging output.
To prevent this open descriptor 3 and redirect stderr from the awk
command to descriptor 3. Debugging output will stay directed to stderr.

(cherry picked from commit 10f67938dbbafc87be3df86e5a1db35573d12a8b)
bin/tests/system/conf.sh.common