v0.19.26: [linux] ignore bad stderr
This commit is contained in:
parent
c481d759d6
commit
28cef77806
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "telebit",
|
"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.",
|
"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",
|
"main": "lib/remote.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
|
@ -175,7 +175,7 @@ Launcher.install = function (things, fn) {
|
||||||
//console.log((stdout||'').trim());
|
//console.log((stdout||'').trim());
|
||||||
var execstr = launcherstr + "enable " + launchername;
|
var execstr = launcherstr + "enable " + launchername;
|
||||||
exec(execstr, things._execOpts, function (err, stdout, stderr) {
|
exec(execstr, things._execOpts, function (err, stdout, stderr) {
|
||||||
err = getError(err, stderr);
|
err = getError(err, !/Created symlink/.test(stderr||''));
|
||||||
if (err) { fn(err); return; }
|
if (err) { fn(err); return; }
|
||||||
//console.log((stdout||'').trim());
|
//console.log((stdout||'').trim());
|
||||||
var execstr = launcherstr + "restart " + launchername;
|
var execstr = launcherstr + "restart " + launchername;
|
||||||
|
|
Loading…
Reference in New Issue