Displaying 2 results from an estimated 2 matches for "b5c7d88b".
2020 May 22
0
[PATCH nbdkit 3/4] tests/functions.sh.in: Rename variables $status and $i when running cleanups.
This causes conflicts if a cleanup hook happens to use a variable with
the same name.
---
tests/functions.sh.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/functions.sh.in b/tests/functions.sh.in
index e2ef9701..b5c7d88b 100644
--- a/tests/functions.sh.in
+++ b/tests/functions.sh.in
@@ -43,17 +43,17 @@ cleanup_fn ()
_run_cleanup_hooks ()
{
- local status=$? i
+ local _status=$? _i
set +e
trap '' INT QUIT TERM EXIT ERR
- echo $0: run cleanup hooks: exit code $status
+ echo $0: run...
2020 May 22
6
[PATCH nbdkit 0/4] Add fuamode=pass and fuamode=discard
Two hopefully useful additions to the fua filter. The second one is
kind of like cache=unsafe in qemu, in that it exchanges correctness
for speed. Useful for data which is easily recreated in the event of
a crash or for people who like living on the edge and have good
backups.
Rich.