{"comment":{"url":"https://api.github.com/repos/rapid7/metasploit-omnibus/comments/12528178","html_url":"https://github.com/rapid7/metasploit-omnibus/commit/7507cdd420a58ed6d07d4f17406b932389284380#commitcomment-12528178","id":12528178,"user":{"login":"bcook-r7","id":10031469,"avatar_url":"https://avatars.githubusercontent.com/u/10031469?v=3","gravatar_id":"","url":"https://api.github.com/users/bcook-r7","html_url":"https://github.com/bcook-r7","followers_url":"https://api.github.com/users/bcook-r7/followers","following_url":"https://api.github.com/users/bcook-r7/following{/other_user}","gists_url":"https://api.github.com/users/bcook-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bcook-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcook-r7/subscriptions","organizations_url":"https://api.github.com/users/bcook-r7/orgs","repos_url":"https://api.github.com/users/bcook-r7/repos","events_url":"https://api.github.com/users/bcook-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bcook-r7/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"7507cdd420a58ed6d07d4f17406b932389284380","created_at":"2015-08-04T22:10:33Z","updated_at":"2015-08-04T22:10:33Z","body":"Yep - I retested, good catch (the original version actually didn't work at all!)\r\n\r\n```sh\r\nbcook@AUS-MAC-1134:~$ cat test.sh\r\n#!/bin/sh\r\n\r\nif hash monkey; then\r\n  echo \"Ook ook\"\r\nfi\r\n\r\nif [ ! hash squirrel ]; then\r\n  echo \"Golly\"\r\nfi\r\n\r\n$ sh ./test.sh\r\n./test.sh: line 3: hash: monkey: not found\r\n./test.sh: line 7: [: hash: unary operator expected\r\n```"}}