aboutsummaryrefslogtreecommitdiff
path: root/launcher/package
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/package')
-rwxr-xr-xlauncher/package/linux/MultiMC4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/package/linux/MultiMC b/launcher/package/linux/MultiMC
index da6373bc..be35e83c 100755
--- a/launcher/package/linux/MultiMC
+++ b/launcher/package/linux/MultiMC
@@ -35,7 +35,7 @@ if [ "x$DEPS_LIST" = "x" ]; then
chmod +x "${MMC_DIR}/bin/MultiMC"
# Run MultiMC
- "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" "$@"
+ exec -a "${MMC_DIR}/MultiMC" "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" "$@"
# Run MultiMC in valgrind
# valgrind --log-file="valgrind.log" --leak-check=full --track-origins=yes "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" "$@"
@@ -45,7 +45,7 @@ if [ "x$DEPS_LIST" = "x" ]; then
# use callgrind_control -i on/off to profile actions
# Exit with MultiMC's exit code.
- exit $?
+ # exit $?
else
# apt
if which apt-file &>/dev/null; then