summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-11 21:51:56 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-11 21:51:56 +0100
commitf0b4ce56e20e6492772ebebb5459b5f06445b9fb (patch)
tree0aa1fd8d70e483455c1122bba2f9d97b564f19c6 /src/core
parent392e855ceae3fc17584761c79a8d0e5616ed088f (diff)
adding debug info for exit code of workers and the dep on it.. because my last commits were buggy :)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/libs/lib-ui-interactive.sh1
1 files changed, 1 insertions, 0 deletions
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
}