v0.19.26: [linux] ignore bad stderr

This commit is contained in:
AJ ONeal 2018-07-21 04:42:44 -06:00
parent c481d759d6
commit 28cef77806
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "telebit",
"version": "0.19.25",
"version": "0.19.26",
"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": [

View File

@ -175,7 +175,7 @@ Launcher.install = function (things, fn) {
//console.log((stdout||'').trim());
var execstr = launcherstr + "enable " + launchername;
exec(execstr, things._execOpts, function (err, stdout, stderr) {
err = getError(err, stderr);
err = getError(err, !/Created symlink/.test(stderr||''));
if (err) { fn(err); return; }
//console.log((stdout||'').trim());
var execstr = launcherstr + "restart " + launchername;