Skip to content

Conversation

@troman29
Copy link
Contributor

@troman29 troman29 commented Apr 12, 2023

На системах с ОЗУ < 2100 Мб команда let отдаёт код 1, если значение cpuNumber равно 0. Скрипт сразу падает без пояснения. Данный хост не используется как нода, поэтому памяти на нём меньше.

image

$ let --help
let: let arg [arg ...]
    Evaluate arithmetic expressions.
    
...

    Exit Status:
    If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise.

@igroman787 igroman787 merged commit 8e306ca into ton-blockchain:master May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants