aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube.ts
diff options
context:
space:
mode:
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