diff options
author | Chocobozzz <me@florianbigard.com> | 2019-06-11 09:25:20 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-11 09:25:20 +0200 |
commit | 9f167f12aafbcdda2e2cd2f436ff996ea41986ba (patch) | |
tree | b833240d5b40f49ca6ae3cdd50bdb18104eb34d7 /server/tools/peertube-auth.ts | |
parent | 4c3dbb7acd1d6be4697cfd319022b9a9fae6725b (diff) | |
download | PeerTube-9f167f12aafbcdda2e2cd2f436ff996ea41986ba.tar.gz PeerTube-9f167f12aafbcdda2e2cd2f436ff996ea41986ba.tar.zst PeerTube-9f167f12aafbcdda2e2cd2f436ff996ea41986ba.zip |
Fix netrc tools
Diffstat (limited to 'server/tools/peertube-auth.ts')
-rw-r--r-- | server/tools/peertube-auth.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tools/peertube-auth.ts b/server/tools/peertube-auth.ts index 8bc3d332c..e53283fbe 100644 --- a/server/tools/peertube-auth.ts +++ b/server/tools/peertube-auth.ts | |||
@@ -93,6 +93,8 @@ program | |||
93 | }) | 93 | }) |
94 | 94 | ||
95 | settings.remotes.forEach(element => { | 95 | settings.remotes.forEach(element => { |
96 | if (!netrc.machines[element]) return | ||
97 | |||
96 | table.push([ | 98 | table.push([ |
97 | element, | 99 | element, |
98 | netrc.machines[element].login | 100 | netrc.machines[element].login |