test_suite: avoid recursive print of call stack

This commit is contained in:
Frank Liepold 2014-01-09 12:03:40 +01:00
parent ef1c865fc4
commit b5f0291f66
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ function lib_exit
if [ -n "$msg" ];then
echo " $msg" >&2
fi
if [ $rc -ne 0 ]; then
if [ $rc -ne 0 -a -z "$lib_exit_recursion" ]; then
lib_callstack >&2
fi
if [ $rc -ne $main_prevent_remove_lock_files_code ]; then