Skip to content
Snippets Groups Projects
Commit c189a76d authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Fix return code when executing actions.

parent 4372f715
Branches
Tags CASP13-v1.0.5
No related merge requests found
......@@ -48,6 +48,7 @@ if test -e "${OST_SCRIPT}" ; then
done
IFS="#"
$pyexec -c "execfile('$DNG_ROOT/@LIBDIR@/python@PYTHON_VERSION@/site-packages/ost/ost_startup.py')" "${OST_SCRIPT}" $opts
RC=$?
else
opts=""
for argument in "$@";do
......@@ -60,6 +61,6 @@ else
IFS="#"
$pyexec $interactive -c "execfile('$DNG_ROOT/@LIBDIR@/python@PYTHON_VERSION@/site-packages/ost/ost_startup.py')" $opts
RC=$?
exit $RC
fi
IFS=$OLDIFS
exit $RC
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment