{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/22806","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/22806/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/22806/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/22806/events","html_url":"https://github.com/owncloud/core/issues/22806","id":138133834,"number":22806,"title":"occ integrity check should return an exit code different than 0 in case of error","user":{"login":"jvillafanez","id":1477829,"avatar_url":"https://avatars.githubusercontent.com/u/1477829?v=3","gravatar_id":"","url":"https://api.github.com/users/jvillafanez","html_url":"https://github.com/jvillafanez","followers_url":"https://api.github.com/users/jvillafanez/followers","following_url":"https://api.github.com/users/jvillafanez/following{/other_user}","gists_url":"https://api.github.com/users/jvillafanez/gists{/gist_id}","starred_url":"https://api.github.com/users/jvillafanez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvillafanez/subscriptions","organizations_url":"https://api.github.com/users/jvillafanez/orgs","repos_url":"https://api.github.com/users/jvillafanez/repos","events_url":"https://api.github.com/users/jvillafanez/events{/privacy}","received_events_url":"https://api.github.com/users/jvillafanez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/comp:core","name":"comp:core","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/junior%20job","name":"junior job","color":"d7e102"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev3-medium","name":"sev3-medium","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/95","html_url":"https://github.com/owncloud/core/milestones/9.0.6","labels_url":"https://api.github.com/repos/owncloud/core/milestones/95/labels","id":1896108,"number":95,"title":"9.0.6","description":null,"creator":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":28,"state":"open","created_at":"2016-07-21T09:55:18Z","updated_at":"2016-10-20T09:32:42Z","due_on":"2016-10-24T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-03-03T10:03:23Z","updated_at":"2016-10-20T09:33:38Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Run `sudo -u www-data ./occ integrity:check-core` and verify success (no console message and exit code = 0)\r\n2. Create a new file with any content in the FS inside the ownCloud installation\r\n3. Run again `sudo -u www-data ./occ integrity:check-core`\r\n\r\n### Expected behaviour\r\nError message is shown (through stderr?) and the exit code is different than 0. There could be more exit codes depending on the type of error (new file added, modified file, missing file, etc).\r\n\r\n### Actual behaviour\r\nError message is shown, but the exit code is 0.\r\n\r\n### Server configuration\r\n**Operating system**: ubuntu 14.04\r\n\r\n**Web server:** apache 2.4.7\r\n\r\n**Database:** mysql\r\n\r\n**PHP version:** 5.5.9\r\n\r\n**ownCloud version:** 9.0.0RC1\r\n\r\n**Updated from an older ownCloud or fresh install:** fresh install\r\n\r\nThis applies to \"integrity:check-app\", \"integrity:check-core\", \"integrity:sign-app\" and \"integrity:sign-core\"\r\n\r\n@LukasReschke "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/255057068","html_url":"https://github.com/owncloud/core/issues/22806#issuecomment-255057068","issue_url":"https://api.github.com/repos/owncloud/core/issues/22806","id":255057068,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T09:33:38Z","updated_at":"2016-10-20T09:33:38Z","body":"@ppaysant did you recent addition to occ return code cover this too ?"}}
{"actor":{"display_login":"PVince81"}}