Page MenuHomePhabricator

D7675.diff

diff --git a/scripts/ssh/ssh-auth.php b/scripts/ssh/ssh-auth.php
--- a/scripts/ssh/ssh-auth.php
+++ b/scripts/ssh/ssh-auth.php
@@ -15,6 +15,11 @@
$user_dao->getTableName(),
$ssh_dao->getTableName());
+if (!$rows) {
+ echo pht("No keys found.")."\n";
+ exit(1);
+}
+
$bin = $root.'/bin/ssh-exec';
foreach ($rows as $row) {
$user = $row['userName'];

File Metadata

Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/4a/iv/gu3knpur5v4ewn2u
Default Alt Text
D7675.diff (364 B)

Event Timeline