warn when no tokens given

This commit is contained in:
AJ ONeal 2018-05-29 01:44:50 -06:00
parent d4c52787b9
commit 3cf8c238d0
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) {