Unverified Commit 9e62fef6 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Floating

parent 70ebdac1
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -75,6 +75,7 @@ function installPackages {

    fi
  done

}

trap finish SIGINT SIGTERM
@@ -105,12 +106,10 @@ else
fi

elapsed=$((($(date +%s%N) - $ts)/1000000))
difference=$(((5000-elapsed)*0.001))
difference=$(echo | awk '{print $((5000-elapsed)) * 0.001}')

if (( difference > 0 )); then
echo "Elapsed time: $elapsed, difference: $difference"
sleep $difference
fi

# Display message in docker log output