-
-
Notifications
You must be signed in to change notification settings - Fork 858
[LGSM] Text issue when "already stopped" #161
Copy link
Copy link
Closed
Labels
engine: sourcegame: Counter-Strike: Global OffensiveIssues related to Counter-Strike: Global OffensiveIssues related to Counter-Strike: Global Offensivetype: bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
engine: sourcegame: Counter-Strike: Global OffensiveIssues related to Counter-Strike: Global OffensiveIssues related to Counter-Strike: Global Offensivetype: bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for Bug.
Hey,
If I stop my server when it is already stopped the text bugs. I dont know how I should call/name it..
Putty:
[ .... ] Stopping csgo_server: ARES Gaming - Clan Server
(everything is normal but then the line changes)
is already stoppedsgo_server: ARES Gaming - Clan Server
It works, if I change:
servername=$(grep -s hostname "${servercfgfullpath}"|sed 's/hostname //g'|sed 's/"//g')
rcon=$(grep -s rcon_password "${servercfgfullpath}"|sed 's/rcon_password //g'|sed 's/"//g')
to
servername=$(grep -s "hostname" "${servercfgfullpath}" | grep -oP '"\K[^"]+(?=["])')
rcon=$(grep -s "rcon_password" "${servercfgfullpath}" | grep -oP '"\K[^"]+(?=["])')
Sorry but I cant describe this issue in english^^
https://github.com/dgibbs64/linuxgameservers/blob/master/CounterStrikeGlobalOffensive/csgoserver#L580
https://github.com/dgibbs64/linuxgameservers/blob/master/CounterStrikeGlobalOffensive/csgoserver#L75-L76
I'm on Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-35-generic x86_64)