From 28cef7780661e0b0c68f38588419b5cbe489c0db Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 21 Jul 2018 04:42:44 -0600 Subject: [PATCH] v0.19.26: [linux] ignore bad stderr --- package.json | 2 +- usr/share/install-launcher.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 048f367..3f048b1 100644 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/usr/share/install-launcher.js b/usr/share/install-launcher.js index 5c00f3c..2b50c11 100644 --- a/usr/share/install-launcher.js +++ b/usr/share/install-launcher.js @@ -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;