Search Results

Search: Posts Made By: PTL
3,945
Posted By [MA]Flying_Meat
Does your calling script do anything after the...
Does your calling script do anything after the script call?

What happens (as far as we can tell) is:
Main script calls script 2
Script 2
preforms action
exit 0 (success)
Main script can get...
3,945
Posted By Corona688
Show your entire program, please, as well as the...
Show your entire program, please, as well as the modifications you tried.
3,945
Posted By Corona688
Because you are using 'exec', your original...
Because you are using 'exec', your original program ceases to exist and is replaced by this new one whenever you do so. It cannot return because there's nothing to return to.

If you don't want it...
3,945
Posted By Skrynesaver
remove the exit 0 line in the called script and...
remove the exit 0 line in the called script and wrap LoadMarkID.sh as follows

while 1 ; do
clear
echo "Enter L(Load id) M(Mark id) :\c"
read answer
case $answer in
...
3,945
Posted By Don Cragun
PTL, Skrynesaver and Corona688 both identified...
PTL,
Skrynesaver and Corona688 both identified one third of your problems. (At least I assume that there is no command named invalid on your system.) You need to combine their suggestions to get...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 12:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy