From f0b4ce56e20e6492772ebebb5459b5f06445b9fb Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 11 Nov 2008 21:51:56 +0100 Subject: adding debug info for exit code of workers and the dep on it.. because my last commits were buggy :) --- src/core/libs/lib-ui-interactive.sh | 1 + src/fifa.sh | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 9dc9a93..0f63320 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -11,6 +11,7 @@ check_depend () object=$1_$2 exit_var=exit_$object + debug "Depending on exit state of $objecct.. looking up -> ${!exit_var}" [ "${!exit_var}" = '0' ] && return 0 show_warning "Cannot Continue. Going back to $2" "You must do $2 first before going here!." && return 1 } diff --git a/src/fifa.sh b/src/fifa.sh index 1664b3c..0a9c445 100755 --- a/src/fifa.sh +++ b/src/fifa.sh @@ -151,6 +151,7 @@ execute () ret=${!exit_var} fi + debug "$1 $2 exit state was $ret" cd $PWD_BACKUP return $ret } -- cgit v1.2.3-54-g00ecf