Skip to content

error in /usr/bin/s.sh #123

@kaolateman

Description

@kaolateman

maxC=\`echo "\$max * 1000"|bc -l\`

The webUI interface shows endless waiting for loading
I checked and found that somehow this value could not be read.
It get an error when I run /usr/bin/s.sh

(standard_in) 1: syntax error

I suggest change it
**maxC=\echo "$max * 1000"|bc -l`** =>(into)maxC=echo "${max:-0} * 1000"|bc -l `
in case of max is empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions