diff options
author | ceros7 <ceros7@svn> | 2010-05-16 18:27:20 +0000 |
---|---|---|
committer | ceros7 <ceros7@svn> | 2010-05-16 18:27:20 +0000 |
commit | 0d6bb5ab6d66df4812e06d2a2619468f2e2c5d97 (patch) | |
tree | bcfcba2104a37a88d2aa27d84116939bcd07afb2 /tools | |
parent | 0bb7589f961b10f89beee6afa7866729281fd89d (diff) |
Exit with exit status from python script in case of failure.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30233 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Linux/xbmc.sh.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/Linux/xbmc.sh.in b/tools/Linux/xbmc.sh.in index 122fb85a6b..6b3bd4a74a 100644 --- a/tools/Linux/xbmc.sh.in +++ b/tools/Linux/xbmc.sh.in @@ -98,8 +98,9 @@ print_crash_report() } python @prefix@/share/xbmc/FEH.py "$SAVED_ARGS" -if [ $? -ne 0 ]; then - exit 0 +RET=$? +if [ $RET -ne 0 ]; then + exit $RET fi # Output warning in case ulimit is unsupported by shell |