diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-04-24 23:36:52 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-04-24 23:36:52 -0400 |
commit | 3857f41551b2ad3e5288828163afb6f67c7cc6f1 (patch) | |
tree | 9ddffddbb20c759f93c9cff51870a367f6b9cfa2 /tests.sh | |
parent | 9dfce9a8c392838f7aa21886de6ef3d16e459e2f (diff) | |
download | bfs-3857f41551b2ad3e5288828163afb6f67c7cc6f1.tar.xz |
tests: Redirect stdin from /dev/null
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -815,6 +815,9 @@ function bfs_sort() { awk -F/ '{ print NF - 1 " " $0 }' | sort -n | cut -d' ' -f2- } +# Close stdin so bfs doesn't think we're interactive +exec </dev/null + if [ "$VERBOSE" ]; then # dup stdout for verbose logging even when redirected exec 3>&1 |