Skip to content

Syntax issue with If Statement #2

Description

@n-morrison

if [ $status req 5]; then Should read:
if [ $status -eq 5 ]; then

The 'req' is not a valid Numeric relational operator. plus there is a Space missing after the '5', before the Closing ']'.

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