Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit b07b51a

Browse files
committed
fix spawn process function
1 parent 4b15bba commit b07b51a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

initrd/system/vfs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ function(resources) {
438438
return;
439439
}
440440

441-
vfsnode.readFile(null, function(data) {
441+
vfsnode.readFile(null, function(fileContent) {
442442
// FS accessors
443443
systemOverwrite.fs = systemOverwrite.fs || {
444444
default: createNodeAccessor(workDir),
@@ -457,7 +457,7 @@ function(resources) {
457457
log: runtime.log
458458
};
459459

460-
resources.processManager.create(data, {
460+
resources.processManager.create(fileContent, {
461461
system: systemOverwrite,
462462
data: data,
463463
env: env,

0 commit comments

Comments
 (0)