mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
workaround for bashrc waiting for user input
This commit is contained in:
parent
909550dee2
commit
1ea274ea00
3
node_modules/vfs-local/localfs.js
generated
vendored
3
node_modules/vfs-local/localfs.js
generated
vendored
@ -141,7 +141,8 @@ module.exports = function setup(fsOptions) {
|
||||
var waitForEnv = null;
|
||||
if (!isWin) {
|
||||
waitForEnv = [];
|
||||
_execFile(BASH, ["-lc", "printenv -0"], function(error, stdout, stderr) {
|
||||
// using timeout because bash initialization may open a prompt blocking this call
|
||||
_execFile(BASH, ["-lc", "printenv -0"], { timeout: 1500 }, function(error, stdout, stderr) {
|
||||
var pending = waitForEnv;
|
||||
waitForEnv = null;
|
||||
if (!error && !stderr && stdout) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user