warn when no tokens given

This commit is contained in:
AJ ONeal 2018-05-29 01:44:50 -06:00
parent 945f77449d
commit a816e327e5
1 changed files with 1 additions and 0 deletions

View File

@ -491,6 +491,7 @@ function run(copts) {
function connect() {
if (!tokens.length) {
console.warn("[Non-fatal Error] No tokens. Nothing to do.");
return;
}
if (wstunneler) {