# HG changeset patch # User Wolfgang Rosenauer # Date 1339135058 -7200 # Node ID c49024069c9d745b4bdf08e051a8c70fb0715945 # Parent 1fd4a257e727e5027dd879a3df73eb9da8fae9da do not spawn a new shell but use exec (bnc#766006) diff -r 1fd4a257e727 -r c49024069c9d MozillaFirefox/mozilla.sh.in --- 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