AllTheMods / Server-Scripts

Server Startup Scripts
Other
68 stars 37 forks source link

Syntax error on line 84 of ServerStart.sh #93

Open lparkes opened 2 years ago

lparkes commented 2 years ago

There is a space between "-" and "v" on line 84 of ServerStart.sh when there shouldn't be meaning that the script will never detect that curl is installed.

There doesn't seem to be any reason to discard the error output from "command -v ...", at least when I checked on my system, so maybe remove the "2>&1".

Hmm. There is no need to use ">>" with /dev/null. A normal ">" works fine and is more normal. Maybe that's a personal style thing though?