{"action":"created","issue":{"url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/issues/1111","repository_url":"https://api.github.com/repos/GameServerManagers/LinuxGSM","labels_url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/issues/1111/labels{/name}","comments_url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/issues/1111/comments","events_url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/issues/1111/events","html_url":"https://github.com/GameServerManagers/LinuxGSM/issues/1111","id":181859280,"node_id":"MDU6SXNzdWUxODE4NTkyODA=","number":1111,"title":"Unhandled single quotes in config","user":{"login":"hatbocs","id":652140,"node_id":"MDQ6VXNlcjY1MjE0MA==","avatar_url":"https://avatars0.githubusercontent.com/u/652140?v=4","gravatar_id":"","url":"https://api.github.com/users/hatbocs","html_url":"https://github.com/hatbocs","followers_url":"https://api.github.com/users/hatbocs/followers","following_url":"https://api.github.com/users/hatbocs/following{/other_user}","gists_url":"https://api.github.com/users/hatbocs/gists{/gist_id}","starred_url":"https://api.github.com/users/hatbocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hatbocs/subscriptions","organizations_url":"https://api.github.com/users/hatbocs/orgs","repos_url":"https://api.github.com/users/hatbocs/repos","events_url":"https://api.github.com/users/hatbocs/events{/privacy}","received_events_url":"https://api.github.com/users/hatbocs/received_events","type":"User","site_admin":false},"labels":[{"id":51384215,"node_id":"MDU6TGFiZWw1MTM4NDIxNQ==","url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/labels/Type:%20bug","name":"Type: bug","color":"d73a4a","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-10-09T01:58:07Z","updated_at":"2018-07-19T04:55:13Z","closed_at":"2016-10-09T17:49:19Z","author_association":"NONE","body":"Found when configuring my csgo server.\n\n> // Server Name\n> hostname \"Ba-loo's Comp Server\"\n\nWhen restarting the server I get errors.\n\n> csgoserver@baloomain:~$ ./csgoserver restart\n> xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option\n> [ .... ] Stopping csgo-server: NOT SETxargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option\n> [ERROR ] Stopping csgo-server: Graceful: rcon quit: FAIL\n> [  OK  ] Stopping csgo-server: NOT SET\n> [ .... ] Starting csgo-server: NOT SETxargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option\n> [  OK  ] Starting csgo-server: NOT SET\n\nRemoving the single quote in the hostname will correct this. `hostname \"Ba-loos Comp Server\"`\n\nI traced this back to /lgsm/functions/info_config.sh and added a bit to the servername line. Note `-e \"s/'//g\"` which removes stray single quotes.\n\n> servername=$(grep \"hostname\" \"${servercfgfullpath}\" | sed -e 's/^[ \\t]*//g' -e '/^\\//d' -e \"s/'//g\" -e 's/hostname//g' | tr -d '=\\\";,:' | xargs\n\nNot ideal, I think but the only work around I have right now since I'm not great with bash scripting.\n\nI haven't had this issue until a week ago, or so.\n"},"comment":{"url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/issues/comments/406154663","html_url":"https://github.com/GameServerManagers/LinuxGSM/issues/1111#issuecomment-406154663","issue_url":"https://api.github.com/repos/GameServerManagers/LinuxGSM/issues/1111","id":406154663,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjE1NDY2Mw==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-07-19T04:55:13Z","updated_at":"2018-07-19T04:55:13Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}