{"action":"opened","issue":{"url":"https://api.github.com/repos/phusion/passenger/issues/1733","labels_url":"https://api.github.com/repos/phusion/passenger/issues/1733/labels{/name}","comments_url":"https://api.github.com/repos/phusion/passenger/issues/1733/comments","events_url":"https://api.github.com/repos/phusion/passenger/issues/1733/events","html_url":"https://github.com/phusion/passenger/issues/1733","id":128568107,"number":1733,"title":"--ignore-passenger-not-running exits with 1","user":{"login":"ain","id":370576,"avatar_url":"https://avatars.githubusercontent.com/u/370576?v=3","gravatar_id":"","url":"https://api.github.com/users/ain","html_url":"https://github.com/ain","followers_url":"https://api.github.com/users/ain/followers","following_url":"https://api.github.com/users/ain/following{/other_user}","gists_url":"https://api.github.com/users/ain/gists{/gist_id}","starred_url":"https://api.github.com/users/ain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ain/subscriptions","organizations_url":"https://api.github.com/users/ain/orgs","repos_url":"https://api.github.com/users/ain/repos","events_url":"https://api.github.com/users/ain/events{/privacy}","received_events_url":"https://api.github.com/users/ain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-25T15:58:22Z","updated_at":"2016-01-25T15:58:22Z","closed_at":null,"body":"__Steps to reproduce__:\r\n\r\n1. Deploy Passenger app based off `phusion/passenger-ruby22` Docker image\r\n2. Try to restart the server within the Docker instance with \r\n```\r\npassenger-config restart-app . --ignore-passenger-not-running\r\n```\r\n\r\n__What happens__: \r\n```\r\nroot@e80654c6c26d:/home/app# passenger-config restart-app . --ignore-passenger-not-running\r\nThere are no Phusion Passenger-served applications running whose paths begin with '/home/app'.\r\nroot@e80654c6c26d:/home/app# echo $?\r\n1\r\n```\r\n\r\n__What should happen__: the ignore flag as it stands should also exit with 0 so one could trust the deployment to not to break over 1 being returned.\r\n\r\n__Platform__:\r\n```\r\nroot@e80654c6c26d:/home/app# passenger-status\r\nVersion : 5.0.15\r\nDate    : 2016-01-25 15:56:57 +0000\r\nInstance: AMkGl7uE (nginx/1.8.0 Phusion_Passenger/5.0.15)\r\n\r\n----------- General information -----------\r\nMax pool size : 6\r\nApp groups    : 0\r\nProcesses     : 0\r\nRequests in top-level queue : 0\r\n\r\n----------- Application groups -----------\r\n\r\nroot@e80654c6c26d:/home/app# cat /etc/debian_version \r\njessie/sid\r\n```\r\n"}}