Skip to content

xsos -x throws errors #274

@johanburati

Description

@johanburati

When running xsos with the -x option to disable the colorization it throws errors. Just removed the color codes on those lines for the script to complete:

$ xsos -x another-sosreport
./xsos: line 730: \033[0;31m: syntax error: operand expected (error token is "\033[0;31m")
...
$ xsos -x another-sosreport
./xsos: line 1027: \e[91m: syntax error: operand expected (error token is "\e[91m")
...
$ xsos -x another-sosreport
./xsos: line 1208: \033[0;31m: syntax error: operand expected (error token is "\033[0;31m")

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