{"action":"closed","issue":{"url":"https://api.github.com/repos/unnikked/cloudflare-dns-manager/issues/1","repository_url":"https://api.github.com/repos/unnikked/cloudflare-dns-manager","labels_url":"https://api.github.com/repos/unnikked/cloudflare-dns-manager/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/unnikked/cloudflare-dns-manager/issues/1/comments","events_url":"https://api.github.com/repos/unnikked/cloudflare-dns-manager/issues/1/events","html_url":"https://github.com/unnikked/cloudflare-dns-manager/issues/1","id":55284615,"number":1,"title":"Script error","user":{"login":"niccoX","id":10669660,"avatar_url":"https://avatars.githubusercontent.com/u/10669660?v=3","gravatar_id":"","url":"https://api.github.com/users/niccoX","html_url":"https://github.com/niccoX","followers_url":"https://api.github.com/users/niccoX/followers","following_url":"https://api.github.com/users/niccoX/following{/other_user}","gists_url":"https://api.github.com/users/niccoX/gists{/gist_id}","starred_url":"https://api.github.com/users/niccoX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niccoX/subscriptions","organizations_url":"https://api.github.com/users/niccoX/orgs","repos_url":"https://api.github.com/users/niccoX/repos","events_url":"https://api.github.com/users/niccoX/events{/privacy}","received_events_url":"https://api.github.com/users/niccoX/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-23T14:07:31Z","updated_at":"2016-05-11T08:16:26Z","closed_at":"2016-05-11T08:16:26Z","body":"I'm trying to execute the script on a Mac. I installed jq through brew. I end up with a line error when executing the script, both with the correct tokenid etc.\r\n\r\n| => ./dyndns.sh your@email.com tokenid CREATE niko.com A ftp.niko.com 0\r\nUsing your public ip: xx.xx.xxx.xxx\r\n./dyndns.sh: line 49: -1: substring expression < 0\r\n"}}