v0.19.26: [linux] ignore bad stderr

This commit is contained in:
AJ ONeal 2018-07-21 04:42:44 -06:00
부모 c481d759d6
커밋 28cef77806
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -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;