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

View File

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