From 30f79a3205a465ed4d1ef7bf133d7ad89fe734b7 Mon Sep 17 00:00:00 2001 From: Tom Reynolds Date: Sun, 15 Jul 2012 17:02:41 +0000 Subject: [PATCH] Make Linux wrapper script return the binaries' exit code --- mk/linux/start_megaglest | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/linux/start_megaglest b/mk/linux/start_megaglest index 924aed09..2de22883 100755 --- a/mk/linux/start_megaglest +++ b/mk/linux/start_megaglest @@ -280,3 +280,5 @@ findMissingSO "$LDCONFIG" "$GAMEDIR/$LIBDIR/${VLC_LINKEDLIBNAME}" "$VLC_LIBLOOKU # Create a new date/time indexed log file for every MG run and keep it; # write output (stout+stderr) both to this file and to the screen #./megaglest $@ 2>&1 | tee -a /tmp/`date +"%F_%k-%M-%S"`.glest.log 2>&1 + +exit $?