[orca] fix for bug #626967 - Removed exec call and added trap for EXIT signal
- From: Juanje Ojeda Croissier <jojeda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] fix for bug #626967 - Removed exec call and added trap for EXIT signal
- Date: Sun, 15 Aug 2010 03:08:55 +0000 (UTC)
commit 818542916a2bae6cee92fdbe27f74cbe61a0fde1
Author: Juanje Ojeda <jojeda emergya es>
Date: Sun Aug 15 03:16:08 2010 +0100
fix for bug #626967 - Removed exec call and added trap for EXIT signal
src/orca/orca.in | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/orca/orca.in b/src/orca/orca.in
index 7ef006a..d47fb96 100644
--- a/src/orca/orca.in
+++ b/src/orca/orca.in
@@ -103,10 +103,9 @@ cleanup()
if [ "x$PIDS" != "x" ] ; then
kill $KILLARG $PIDS > /dev/null 2>&1
fi
- restoreXmodmap
}
-trap cleanup HUP QUIT TERM INT ABRT
+trap cleanup HUP QUIT TERM INT ABRT EXIT
# Runs orca.
#
@@ -116,7 +115,7 @@ runOrca()
PYTHONPATH=${PYTHONPATH}:@pyexecdir@
export PYTHONPATH
saveXmodmap
- exec @PYTHON@ -c "import orca.orca; orca.orca.main()" "$ARGS"
+ @PYTHON@ -c "import orca.orca; orca.orca.main()" "$ARGS"
restoreXmodmap
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]