Skip to content
Snippets Groups Projects
Commit 61dcaf00 authored by Petr Rockai's avatar Petr Rockai
Browse files

test: Fix propagation of the exit code from divcheck (again).

parent 21abe7c7
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ if test -n "$EXPORT"; then exit 0; fi
cat $dcscript | sed -e 's,^, | ,'
if ! divcheck $dcscript; then err=$?; if test $err = 0; then exit 1; else exit $err; fi; fi
if divcheck $dcscript; then : ; else exit $?; fi
err=$(grep "error found:" verify.out | cut -d' ' -f3- || true)
if [ "$err" = yes ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment