Closed TomyLobo closed 7 years ago
Yes you are right. I fixed it. Your patch also had a slight error: When you pass the name of the file as an argument it is assumed to be a RCON command and it is send as such to the server. You have to pass the script as content through stdin. Thanks!
Then the shebang, if it had worked, would have had the same issue :)
Yes, absolutely. :-)
Shebangs (the #! thing) can only ever contain a path to an executable and (optionally) one single argument. So basically it's
#!<path>[<space><1st argument>]<newline>
.