exit from perl, don't return outside of subroutine
This commit is contained in:
parent
3b5196830c
commit
a1e425258d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
exit $res
|
||||
|
|
Loading…
Add table
Reference in a new issue