1
0
Fork 0
mirror of https://github.com/Corsinvest/cv4pve-pepper.git synced 2025-02-12 10:01:53 +00:00

Improve code

This commit is contained in:
Daniele Corsini 2020-09-28 15:59:40 +02:00
parent b95f7160c8
commit df1dbcba0a
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<Version>1.3.4</Version>
<Version>1.3.5</Version>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyName>cv4pve-pepper</AssemblyName>
<Company>Corsinvest Srl</Company>
@ -19,6 +19,6 @@
<TrimmerRootAssembly Include="System.Net.WebClient" />
<!-- <ProjectReference Include="..\..\..\cv4pve-api-dotnet\src\Corsinvest.ProxmoxVE.Api.Shell\Corsinvest.ProxmoxVE.Api.Shell.csproj" /> -->
<PackageReference Include="Corsinvest.ProxmoxVE.Api.Shell" Version="2.6.5" />
<PackageReference Include="Corsinvest.ProxmoxVE.Api.Shell" Version="2.6.7" />
</ItemGroup>
</Project>

View file

@ -73,7 +73,7 @@ namespace Corsinvest.ProxmoxVE.Pepper
if (!app.DryRunIsActive())
{
process.Start();
ret = process.HasExited ? process.ExitCode == 0 : true;
ret = !process.HasExited || process.ExitCode == 0;
}
}
else