summaryrefslogtreecommitdiff
path: root/src/core/procedures
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-07-25 13:29:43 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-07-25 13:29:43 +0200
commit14fc7d28f64debe5e466c94df83878243df29f9c (patch)
tree4c20375485c1f4df29a1c5b7f3c60e419db4140f /src/core/procedures
parenta3dff558013e516ccddbfddc47adbbfddd8e7e82 (diff)
make the $ret variable local everywhere
Diffstat (limited to 'src/core/procedures')
-rw-r--r--src/core/procedures/interactive4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/procedures/interactive b/src/core/procedures/interactive
index 61fe90e..f9f79d3 100644
--- a/src/core/procedures/interactive
+++ b/src/core/procedures/interactive
@@ -64,8 +64,8 @@ mainmenu()
"8" "Exit Install"
case $ANSWER_OPTION in
"1")
- execute worker select_source; ret=$?; [ $ret -eq 0 -a "$var_PKG_SOURCE_TYPE" = net ] && execute worker select_source_extras_menu
- [ $ret -eq 0 ] && execute worker runtime_packages && NEXTITEM=2 ;;
+ execute worker select_source; local ret=$?; [ $ret -eq 0 -a "$var_PKG_SOURCE_TYPE" = net ] && execute worker select_source_extras_menu
+ [ $ret -eq 0 ] && execute worker runtime_packages && NEXTITEM=2 ;;
"2")
execute worker set_clock && NEXTITEM=3 ;;