MozillaFirefox/mozilla.sh.in
branchfirefox14
changeset 465 c49024069c9d
parent 392 3992082d6d62
child 498 7e0bc5671298
--- a/MozillaFirefox/mozilla.sh.in	Fri Jun 08 07:57:04 2012 +0200
+++ b/MozillaFirefox/mozilla.sh.in	Fri Jun 08 07:57:38 2012 +0200
@@ -133,10 +133,7 @@
   trap " [ -f \"$tmpfile\" ] && /bin/rm -f -- \"$tmpfile\"" 0 1 2 3 13 15
   echo -e "set args ${1+"$@"}\nrun" > $tmpfile
   echo "$moz_debugger $MOZ_PROGRAM -x $tmpfile"
-  $moz_debugger "$MOZ_PROGRAM" -x $tmpfile
+  exec $moz_debugger "$MOZ_PROGRAM" -x $tmpfile
 else
-  $MOZ_PROGRAM "$@"
+  exec $MOZ_PROGRAM "$@"
 fi
-exitcode=$?
-
-exit $exitcode