remove temporary authorized_keys file

This commit is contained in:
Girish Ramakrishnan
2017-04-04 14:00:41 -07:00
parent 2a45a9bbd4
commit 0f76cbbb95

View File

@@ -89,6 +89,8 @@ function getKeys() {
.map(function (k) { return { identifier: k.split(' ')[2], key: k }; })
.filter(function (k) { return k.identifier && k.key; });
safe.fs.unlinkSync(AUTHORIZED_KEYS_TMP_FILEPATH);
return keys;
}