I want to continue execution of shell script even after error in particular step, but it is getting terminated after error if [ condition ];then     cmdelse      cmd1     return 4ficmd2I want to have return code of 4 and execute the cmd2 even above step is not executed which is not happening. whole code is inside a function
Executing script after error
shell;shell script