clarification

This commit is contained in:
AJ ONeal 2018-09-25 01:20:15 -06:00
parent 82f5545d72
commit aad592c893
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ if ('rsync' === process.argv[2]) {
require('sclient/bin/sclient.js'); require('sclient/bin/sclient.js');
return; return;
} }
// handle ssh client rather than ssh https tunnel
if ('ssh' === process.argv[2] && /[\w-]+\.[a-z]{2,}/i.test(process.argv[3])) { if ('ssh' === process.argv[2] && /[\w-]+\.[a-z]{2,}/i.test(process.argv[3])) {
process.argv.splice(1,1,'sclient'); process.argv.splice(1,1,'sclient');
process.argv.splice(2,1,'ssh'); process.argv.splice(2,1,'ssh');