1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00
phorge-phorge/scripts/ssh
epriestley 3f920d8904 Fix method call on possible null
Summary: Fixes T10317. If we failed to load `$device`, it will be null, so we won't be able to call `getName()` on it.

Test Plan: `SSH_CLIENT='127.0.0.1' ./bin/ssh-exec  --phabricator-ssh-device xyz` no longer fatals

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10317

Differential Revision: https://secure.phabricator.com/D15235
2016-02-10 12:44:52 -08:00
..
ssh-auth-key.php Add a query/policy layer on top of SSH keys for Almanac 2014-11-06 12:37:02 -08:00
ssh-auth.php Proxy VCS SSH requests 2015-01-28 14:41:24 -08:00
ssh-connect.php Handle "-p port" flag in ssh-connect 2013-12-02 11:25:46 -08:00
ssh-exec.php Fix method call on possible null 2016-02-10 12:44:52 -08:00