{"action":"opened","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/1105","labels_url":"https://api.github.com/repos/systemd/systemd/issues/1105/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/1105/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/1105/events","html_url":"https://github.com/systemd/systemd/issues/1105","id":104266799,"number":1105,"title":"systemctl show always returns 0 even when service isn't found","user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-01T13:27:45Z","updated_at":"2015-09-01T13:27:45Z","closed_at":null,"body":"to reproduce:\r\n```systemctl show idontexist; echo $?```\r\n\r\nThough the output does show ```LoadState=not-found``` I would expect the return code to be non 0 as an easy way to detect failure.\r\n\r\nAlso the output shows a lot of misleading information, like ```CanStart=Yes```\r\n\r\nAnother puzzling output is that ```LoadError``` is sometimes populated with 'No such file or directory', but not always, this seems to happen when certain symbols are mistakenly added to the service name input.: ``` systemctl show {{```"}}