0

Hi i am currently working with mqfte. I use a shell script to invoke an ant script. In turn the ant invokes a transfer. In case of the transfer failure i need a return code 1 and 0 in case of success. For this i am using $? in my shell script after the ant invoking step. But in both cases i get a return code 1. what could be the problem with this? the operating system used is unix.

1
  • 2
    edit your question to include minimal ant script AND the offending shell script. Otherwise it is too difficult to guess what is going on. OR use set -vx to see the shell debug trace. you may see something happening that you don't expect. Good luck. Commented Aug 2, 2011 at 15:05

1 Answer 1

1

Please edit your question to include minimal ant script AND the offending shell script. Otherwise it is too difficult to guess what is going on.

OR use set -vx to see the shell debug trace. you may see something happening that you don't expect.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.