Merge pull request #36 from vitlav/master

WorldOfTanksEnCoreLauncher: fix if else
This commit is contained in:
Castro-Fidel 2023-03-20 18:54:58 +03:00 committed by GitHub
commit 2ae0296180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,7 +15,7 @@
while [ `pidof -s dotNetFx40_Full_x86_x64.exe` ] ; do while [ `pidof -s dotNetFx40_Full_x86_x64.exe` ] ; do
if [ $? -eq 0 ] ; then if [ $? -eq 0 ] ; then
sleep 1 sleep 1
elif else
export dotnet_pids=`ps -ax | grep mscorsvw.exe | awk '{print $1}' | uniq` export dotnet_pids=`ps -ax | grep mscorsvw.exe | awk '{print $1}' | uniq`
[ ! -z $dotnet_pids ] [ ! -z $dotnet_pids ]
kill -n 9 $dotnet_pids kill -n 9 $dotnet_pids