store return value of a Python script in a bash script,sys.exit(1)