aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-20 16:35:48 +0200
committerChocobozzz <me@florianbigard.com>2018-09-20 16:35:48 +0200
commit5c142a4bab955d2dbe831efd537c2fe52246db13 (patch)
treecca5f75aadb33eccbefe675cc1812af27f3eb6f1 /server/tools/peertube.ts
parent00f9e41ebfaed4867e971bfb8042e3359eb67eda (diff)
downloadPeerTube-5c142a4bab955d2dbe831efd537c2fe52246db13.tar.gz
PeerTube-5c142a4bab955d2dbe831efd537c2fe52246db13.tar.zst
PeerTube-5c142a4bab955d2dbe831efd537c2fe52246db13.zip
Fix peertube script
Diffstat (limited to 'server/tools/peertube.ts')
-rwxr-xr-xserver/tools/peertube.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/peertube.ts b/server/tools/peertube.ts
index 7441161b1..21609deed 100755
--- a/server/tools/peertube.ts
+++ b/server/tools/peertube.ts
@@ -62,7 +62,7 @@ if (!process.argv.slice(2).length) {
62 62
63getSettings() 63getSettings()
64 .then(settings => { 64 .then(settings => {
65 const state = (settings.default === -1) ? 65 const state = (settings.default === undefined || settings.default === -1) ?
66 'no instance selected, commands will require explicit arguments' : 66 'no instance selected, commands will require explicit arguments' :
67 ('instance ' + settings.remotes[settings.default] + ' selected') 67 ('instance ' + settings.remotes[settings.default] + ' selected')
68 program 68 program