diff --git a/bin/telebit.js b/bin/telebit.js index 761182f..8d434c4 100755 --- a/bin/telebit.js +++ b/bin/telebit.js @@ -633,6 +633,9 @@ function parseCli(/*state*/) { return false; } if (argv[1]) { + if (String(argv[1]) !== String(parseInt(argv[1], 10))) { + argv[1] = path.resolve(argv[1]); + } utils.putConfig(argv[0], argv.slice(1)); return true; } diff --git a/package.json b/package.json index 881e22e..e58cb84 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "telebit", - "version": "0.19.20", + "version": "0.19.21", "description": "Break out of localhost. Connect to any device from anywhere over any tcp port or securely in a browser. A secure tunnel. A poor man's reverse VPN.", "main": "lib/remote.js", "files": [