* Bug fix #1048: docker: Error when using SLEEP_TIME - "integer expression expected"

Thanks @charltonstanley !
This commit is contained in:
Robert McRackan 2024-11-19 06:40:51 -05:00
parent ed87ded77a
commit 43d1019059
2 changed files with 3 additions and 3 deletions

View File

@ -149,7 +149,7 @@ main() {
SLEEP_TIME=-1 SLEEP_TIME=-1
fi fi
if [ "${SLEEP_TIME}" -eq -1 ]; then if [ "${SLEEP_TIME}" == -1 ]; then
info "running once" info "running once"
else else
info "running every ${SLEEP_TIME}" info "running every ${SLEEP_TIME}"
@ -161,7 +161,7 @@ main() {
run run
# Liberate only once if SLEEP_TIME was set to -1 # Liberate only once if SLEEP_TIME was set to -1
if [ "${SLEEP_TIME}" -eq -1 ]; then if [ "${SLEEP_TIME}" == -1 ]; then
break break
fi fi

View File

@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Version>11.5.4.1</Version> <Version>11.5.5.1</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Octokit" Version="11.0.1" /> <PackageReference Include="Octokit" Version="11.0.1" />