exiting script while running source scriptname over SSH

Posted by CCG121 on Stack Overflow See other posts from Stack Overflow or by CCG121
Published on 2010-04-20T03:14:35Z Indexed on 2010/04/20 3:23 UTC
Read the original article Hit count: 271

Filed under:
|
|
|

I have a script with a number of options in it one of the option sets is supposed to change the directory and then exit the script however running over ssh with the source to get it to change in the parent it exits SSH is there another way to do this so that it does not exit? my script is in the /usr/sbin directory.

© Stack Overflow or respective owner

Related posts about ssh

Related posts about shell