{"action":"created","issue":{"url":"https://api.github.com/repos/deajan/tcpping/issues/1","repository_url":"https://api.github.com/repos/deajan/tcpping","labels_url":"https://api.github.com/repos/deajan/tcpping/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/deajan/tcpping/issues/1/comments","events_url":"https://api.github.com/repos/deajan/tcpping/issues/1/events","html_url":"https://github.com/deajan/tcpping/issues/1","id":334110864,"node_id":"MDU6SXNzdWUzMzQxMTA4NjQ=","number":1,"title":"[: unexpected operator (patch attached)","user":{"login":"agail","id":8151508,"node_id":"MDQ6VXNlcjgxNTE1MDg=","avatar_url":"https://avatars3.githubusercontent.com/u/8151508?v=4","gravatar_id":"","url":"https://api.github.com/users/agail","html_url":"https://github.com/agail","followers_url":"https://api.github.com/users/agail/followers","following_url":"https://api.github.com/users/agail/following{/other_user}","gists_url":"https://api.github.com/users/agail/gists{/gist_id}","starred_url":"https://api.github.com/users/agail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agail/subscriptions","organizations_url":"https://api.github.com/users/agail/orgs","repos_url":"https://api.github.com/users/agail/repos","events_url":"https://api.github.com/users/agail/events{/privacy}","received_events_url":"https://api.github.com/users/agail/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-20T14:39:54Z","updated_at":"2018-06-20T15:23:21Z","closed_at":null,"author_association":"NONE","body":"If statements contain == instead of =, will fail using /bin/sh\r\n\r\nuser@host:/$ tcpping -x 1 google.com 443\r\n/usr/local/bin/tcpping: 280: [: unexpected operator\r\n/usr/local/bin/tcpping: 280: [: unexpected operator\r\n/usr/local/bin/tcpping: 163: [: false: unexpected operator\r\nuser@host:/$ /usr/local/bin/tcpping: 201: [: false: unexpected operator\r\n/usr/local/bin/tcpping: 206: [: unexpected operator\r\n/usr/local/bin/tcpping: 206: [: unexpected operator\r\n\r\nPatch supplied\r\n[tcpping.patch.gz](https://github.com/deajan/tcpping/files/2119756/tcpping.patch.gz)\r\n"},"comment":{"url":"https://api.github.com/repos/deajan/tcpping/issues/comments/398791213","html_url":"https://github.com/deajan/tcpping/issues/1#issuecomment-398791213","issue_url":"https://api.github.com/repos/deajan/tcpping/issues/1","id":398791213,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODc5MTIxMw==","user":{"login":"deajan","id":4681318,"node_id":"MDQ6VXNlcjQ2ODEzMTg=","avatar_url":"https://avatars1.githubusercontent.com/u/4681318?v=4","gravatar_id":"","url":"https://api.github.com/users/deajan","html_url":"https://github.com/deajan","followers_url":"https://api.github.com/users/deajan/followers","following_url":"https://api.github.com/users/deajan/following{/other_user}","gists_url":"https://api.github.com/users/deajan/gists{/gist_id}","starred_url":"https://api.github.com/users/deajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deajan/subscriptions","organizations_url":"https://api.github.com/users/deajan/orgs","repos_url":"https://api.github.com/users/deajan/repos","events_url":"https://api.github.com/users/deajan/events{/privacy}","received_events_url":"https://api.github.com/users/deajan/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T15:23:21Z","updated_at":"2018-06-20T15:23:21Z","author_association":"OWNER","body":"Works in my test environments, with bash.\r\nWhat OS, shell and shell version are you using ?"}}
{"actor":{"display_login":"deajan"}}