diff --git a/Testing/Code/Wrappers/Python/Bug440.py b/Testing/Code/Wrappers/Python/Bug440.py index 71ef93997973afb23ae598035c469d48e2d74f7e..e7d413497728adb6b630c06aa0c3c4b9cb5bdf88 100644 --- a/Testing/Code/Wrappers/Python/Bug440.py +++ b/Testing/Code/Wrappers/Python/Bug440.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - # Import the otb applications package import otbApplication import sys @@ -15,4 +13,4 @@ Convert.SetParameterString("out", sys.argv[2]) Convert.SetParameterString("type","linear") # The following line execute the application -Convert.ExecuteAndWriteOutput() +sys.exit(Convert.ExecuteAndWriteOutput())