{"action":"created","comment":{"url":"https://api.github.com/repos/virtapi/installimage/pulls/comments/50291607","id":50291607,"diff_hunk":"@@ -88,8 +90,8 @@ setup_network_config() {\n generate_config_mdadm() {\n   if [ \"$1\" ]; then\n     MDADMCONF=\"/etc/mdadm.conf\"\n-    echo \"DEVICES /dev/[hs]d*\" > $FOLD/hdd$MDADMCONF\n-    echo \"MAILADDR root\" >> $FOLD/hdd$MDADMCONF\n+    echo \"DEVICES /dev/[hs]d*\" > \"$FOLD/hdd$MDADMCONF\"\n+    echo \"MAILADDR root\" >> \"$FOLD/hdd$MDADMCONF\"\n     execute_chroot_command \"mdadm --examine --scan >> $MDADMCONF\"; EXITCODE=$?\n     return $EXITCODE","path":"centos.sh","position":138,"original_position":137,"commit_id":"3f7d0f5dcaa3e73143af7a9007830bdd1e4176b0","original_commit_id":"279f552fd373eb07e91b5ff94f71bdc6dd020908","user":{"login":"killermoehre","id":7925665,"avatar_url":"https://avatars.githubusercontent.com/u/7925665?v=3","gravatar_id":"","url":"https://api.github.com/users/killermoehre","html_url":"https://github.com/killermoehre","followers_url":"https://api.github.com/users/killermoehre/followers","following_url":"https://api.github.com/users/killermoehre/following{/other_user}","gists_url":"https://api.github.com/users/killermoehre/gists{/gist_id}","starred_url":"https://api.github.com/users/killermoehre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killermoehre/subscriptions","organizations_url":"https://api.github.com/users/killermoehre/orgs","repos_url":"https://api.github.com/users/killermoehre/repos","events_url":"https://api.github.com/users/killermoehre/events{/privacy}","received_events_url":"https://api.github.com/users/killermoehre/received_events","type":"User","site_admin":false},"body":"`return \"$EXITCODE\"`\r\nIs this variable defined from the outside? I hope it's declared as integer.","created_at":"2016-01-20T17:53:20Z","updated_at":"2016-01-20T17:53:20Z","html_url":"https://github.com/virtapi/installimage/pull/17#discussion_r50291607","pull_request_url":"https://api.github.com/repos/virtapi/installimage/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/comments/50291607"},"html":{"href":"https://github.com/virtapi/installimage/pull/17#discussion_r50291607"},"pull_request":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/virtapi/installimage/pulls/17","id":56642054,"html_url":"https://github.com/virtapi/installimage/pull/17","diff_url":"https://github.com/virtapi/installimage/pull/17.diff","patch_url":"https://github.com/virtapi/installimage/pull/17.patch","issue_url":"https://api.github.com/repos/virtapi/installimage/issues/17","number":17,"state":"open","locked":false,"title":"validate against shellcheck","user":{"login":"bastelfreak","id":341866,"avatar_url":"https://avatars.githubusercontent.com/u/341866?v=3","gravatar_id":"","url":"https://api.github.com/users/bastelfreak","html_url":"https://github.com/bastelfreak","followers_url":"https://api.github.com/users/bastelfreak/followers","following_url":"https://api.github.com/users/bastelfreak/following{/other_user}","gists_url":"https://api.github.com/users/bastelfreak/gists{/gist_id}","starred_url":"https://api.github.com/users/bastelfreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bastelfreak/subscriptions","organizations_url":"https://api.github.com/users/bastelfreak/orgs","repos_url":"https://api.github.com/users/bastelfreak/repos","events_url":"https://api.github.com/users/bastelfreak/events{/privacy}","received_events_url":"https://api.github.com/users/bastelfreak/received_events","type":"User","site_admin":false},"body":"this changes just style stuff like:\r\n* quotation\r\n* indentation\r\n* trailing whitespace\r\n* adding comments","created_at":"2016-01-20T17:43:30Z","updated_at":"2016-01-20T17:53:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"22b2eb6ddff48f68d571831aa24c9c94d8c84528","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/virtapi/installimage/pulls/17/commits","review_comments_url":"https://api.github.com/repos/virtapi/installimage/pulls/17/comments","review_comment_url":"https://api.github.com/repos/virtapi/installimage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/virtapi/installimage/issues/17/comments","statuses_url":"https://api.github.com/repos/virtapi/installimage/statuses/3f7d0f5dcaa3e73143af7a9007830bdd1e4176b0","head":{"label":"virtapi:featurebranch4","ref":"featurebranch4","sha":"3f7d0f5dcaa3e73143af7a9007830bdd1e4176b0","user":{"login":"virtapi","id":12610395,"avatar_url":"https://avatars.githubusercontent.com/u/12610395?v=3","gravatar_id":"","url":"https://api.github.com/users/virtapi","html_url":"https://github.com/virtapi","followers_url":"https://api.github.com/users/virtapi/followers","following_url":"https://api.github.com/users/virtapi/following{/other_user}","gists_url":"https://api.github.com/users/virtapi/gists{/gist_id}","starred_url":"https://api.github.com/users/virtapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtapi/subscriptions","organizations_url":"https://api.github.com/users/virtapi/orgs","repos_url":"https://api.github.com/users/virtapi/repos","events_url":"https://api.github.com/users/virtapi/events{/privacy}","received_events_url":"https://api.github.com/users/virtapi/received_events","type":"Organization","site_admin":false},"repo":{"id":40267456,"name":"installimage","full_name":"virtapi/installimage","owner":{"login":"virtapi","id":12610395,"avatar_url":"https://avatars.githubusercontent.com/u/12610395?v=3","gravatar_id":"","url":"https://api.github.com/users/virtapi","html_url":"https://github.com/virtapi","followers_url":"https://api.github.com/users/virtapi/followers","following_url":"https://api.github.com/users/virtapi/following{/other_user}","gists_url":"https://api.github.com/users/virtapi/gists{/gist_id}","starred_url":"https://api.github.com/users/virtapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtapi/subscriptions","organizations_url":"https://api.github.com/users/virtapi/orgs","repos_url":"https://api.github.com/users/virtapi/repos","events_url":"https://api.github.com/users/virtapi/events{/privacy}","received_events_url":"https://api.github.com/users/virtapi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/virtapi/installimage","description":"bash scripts for deploying every linux system","fork":false,"url":"https://api.github.com/repos/virtapi/installimage","forks_url":"https://api.github.com/repos/virtapi/installimage/forks","keys_url":"https://api.github.com/repos/virtapi/installimage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/virtapi/installimage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/virtapi/installimage/teams","hooks_url":"https://api.github.com/repos/virtapi/installimage/hooks","issue_events_url":"https://api.github.com/repos/virtapi/installimage/issues/events{/number}","events_url":"https://api.github.com/repos/virtapi/installimage/events","assignees_url":"https://api.github.com/repos/virtapi/installimage/assignees{/user}","branches_url":"https://api.github.com/repos/virtapi/installimage/branches{/branch}","tags_url":"https://api.github.com/repos/virtapi/installimage/tags","blobs_url":"https://api.github.com/repos/virtapi/installimage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/virtapi/installimage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/virtapi/installimage/git/refs{/sha}","trees_url":"https://api.github.com/repos/virtapi/installimage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/virtapi/installimage/statuses/{sha}","languages_url":"https://api.github.com/repos/virtapi/installimage/languages","stargazers_url":"https://api.github.com/repos/virtapi/installimage/stargazers","contributors_url":"https://api.github.com/repos/virtapi/installimage/contributors","subscribers_url":"https://api.github.com/repos/virtapi/installimage/subscribers","subscription_url":"https://api.github.com/repos/virtapi/installimage/subscription","commits_url":"https://api.github.com/repos/virtapi/installimage/commits{/sha}","git_commits_url":"https://api.github.com/repos/virtapi/installimage/git/commits{/sha}","comments_url":"https://api.github.com/repos/virtapi/installimage/comments{/number}","issue_comment_url":"https://api.github.com/repos/virtapi/installimage/issues/comments{/number}","contents_url":"https://api.github.com/repos/virtapi/installimage/contents/{+path}","compare_url":"https://api.github.com/repos/virtapi/installimage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/virtapi/installimage/merges","archive_url":"https://api.github.com/repos/virtapi/installimage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/virtapi/installimage/downloads","issues_url":"https://api.github.com/repos/virtapi/installimage/issues{/number}","pulls_url":"https://api.github.com/repos/virtapi/installimage/pulls{/number}","milestones_url":"https://api.github.com/repos/virtapi/installimage/milestones{/number}","notifications_url":"https://api.github.com/repos/virtapi/installimage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/virtapi/installimage/labels{/name}","releases_url":"https://api.github.com/repos/virtapi/installimage/releases{/id}","created_at":"2015-08-05T20:31:31Z","updated_at":"2016-01-20T17:04:30Z","pushed_at":"2016-01-20T17:50:03Z","git_url":"git://github.com/virtapi/installimage.git","ssh_url":"git@github.com:virtapi/installimage.git","clone_url":"https://github.com/virtapi/installimage.git","svn_url":"https://github.com/virtapi/installimage","homepage":null,"size":126,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"virtapi:master","ref":"master","sha":"f56b8316313aab7f3fc4204cba76a874061add5b","user":{"login":"virtapi","id":12610395,"avatar_url":"https://avatars.githubusercontent.com/u/12610395?v=3","gravatar_id":"","url":"https://api.github.com/users/virtapi","html_url":"https://github.com/virtapi","followers_url":"https://api.github.com/users/virtapi/followers","following_url":"https://api.github.com/users/virtapi/following{/other_user}","gists_url":"https://api.github.com/users/virtapi/gists{/gist_id}","starred_url":"https://api.github.com/users/virtapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtapi/subscriptions","organizations_url":"https://api.github.com/users/virtapi/orgs","repos_url":"https://api.github.com/users/virtapi/repos","events_url":"https://api.github.com/users/virtapi/events{/privacy}","received_events_url":"https://api.github.com/users/virtapi/received_events","type":"Organization","site_admin":false},"repo":{"id":40267456,"name":"installimage","full_name":"virtapi/installimage","owner":{"login":"virtapi","id":12610395,"avatar_url":"https://avatars.githubusercontent.com/u/12610395?v=3","gravatar_id":"","url":"https://api.github.com/users/virtapi","html_url":"https://github.com/virtapi","followers_url":"https://api.github.com/users/virtapi/followers","following_url":"https://api.github.com/users/virtapi/following{/other_user}","gists_url":"https://api.github.com/users/virtapi/gists{/gist_id}","starred_url":"https://api.github.com/users/virtapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtapi/subscriptions","organizations_url":"https://api.github.com/users/virtapi/orgs","repos_url":"https://api.github.com/users/virtapi/repos","events_url":"https://api.github.com/users/virtapi/events{/privacy}","received_events_url":"https://api.github.com/users/virtapi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/virtapi/installimage","description":"bash scripts for deploying every linux system","fork":false,"url":"https://api.github.com/repos/virtapi/installimage","forks_url":"https://api.github.com/repos/virtapi/installimage/forks","keys_url":"https://api.github.com/repos/virtapi/installimage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/virtapi/installimage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/virtapi/installimage/teams","hooks_url":"https://api.github.com/repos/virtapi/installimage/hooks","issue_events_url":"https://api.github.com/repos/virtapi/installimage/issues/events{/number}","events_url":"https://api.github.com/repos/virtapi/installimage/events","assignees_url":"https://api.github.com/repos/virtapi/installimage/assignees{/user}","branches_url":"https://api.github.com/repos/virtapi/installimage/branches{/branch}","tags_url":"https://api.github.com/repos/virtapi/installimage/tags","blobs_url":"https://api.github.com/repos/virtapi/installimage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/virtapi/installimage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/virtapi/installimage/git/refs{/sha}","trees_url":"https://api.github.com/repos/virtapi/installimage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/virtapi/installimage/statuses/{sha}","languages_url":"https://api.github.com/repos/virtapi/installimage/languages","stargazers_url":"https://api.github.com/repos/virtapi/installimage/stargazers","contributors_url":"https://api.github.com/repos/virtapi/installimage/contributors","subscribers_url":"https://api.github.com/repos/virtapi/installimage/subscribers","subscription_url":"https://api.github.com/repos/virtapi/installimage/subscription","commits_url":"https://api.github.com/repos/virtapi/installimage/commits{/sha}","git_commits_url":"https://api.github.com/repos/virtapi/installimage/git/commits{/sha}","comments_url":"https://api.github.com/repos/virtapi/installimage/comments{/number}","issue_comment_url":"https://api.github.com/repos/virtapi/installimage/issues/comments{/number}","contents_url":"https://api.github.com/repos/virtapi/installimage/contents/{+path}","compare_url":"https://api.github.com/repos/virtapi/installimage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/virtapi/installimage/merges","archive_url":"https://api.github.com/repos/virtapi/installimage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/virtapi/installimage/downloads","issues_url":"https://api.github.com/repos/virtapi/installimage/issues{/number}","pulls_url":"https://api.github.com/repos/virtapi/installimage/pulls{/number}","milestones_url":"https://api.github.com/repos/virtapi/installimage/milestones{/number}","notifications_url":"https://api.github.com/repos/virtapi/installimage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/virtapi/installimage/labels{/name}","releases_url":"https://api.github.com/repos/virtapi/installimage/releases{/id}","created_at":"2015-08-05T20:31:31Z","updated_at":"2016-01-20T17:04:30Z","pushed_at":"2016-01-20T17:50:03Z","git_url":"git://github.com/virtapi/installimage.git","ssh_url":"git@github.com:virtapi/installimage.git","clone_url":"https://github.com/virtapi/installimage.git","svn_url":"https://github.com/virtapi/installimage","homepage":null,"size":126,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/17"},"html":{"href":"https://github.com/virtapi/installimage/pull/17"},"issue":{"href":"https://api.github.com/repos/virtapi/installimage/issues/17"},"comments":{"href":"https://api.github.com/repos/virtapi/installimage/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/virtapi/installimage/statuses/3f7d0f5dcaa3e73143af7a9007830bdd1e4176b0"}}}}