Closed lingbaoboy closed 3 months ago
Because it is a bash
script!
Same error may happen when you are using sh
instead.
It is strongly recommended to run this script in a pure minimal server without any other packages.
If you are a doftware developer and like to run zsh in your shell, then you may know how to change it! :D Add this to your .zshrc file:
alias s-ui="bash -c 's-ui'"
When connecting via SSH and using oh-my-zsh instead of bash, running s-ui results in an error
/usr/bin/s-ui: 10: Syntax error: "(" unexpected
while it works fine when using bash.