From a1e425258d4877af4b4ab1ae4805ac2c121b8587 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sat, 24 Jan 2015 11:13:28 +0000 Subject: [PATCH] exit from perl, don't return outside of subroutine --- source/launcher/ttrts.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/launcher/ttrts.pl b/source/launcher/ttrts.pl index 886fed6..4e1b43a 100755 --- a/source/launcher/ttrts.pl +++ b/source/launcher/ttrts.pl @@ -41,4 +41,4 @@ $res = system("ttrts-client $host") if $client and $host; $res = system("ttrts-server $map") if $server and $map; $res = system("ttrts-local $map") if not $server and not $client and $map; -return $res \ No newline at end of file +exit $res