Skip to content

Commit 9b502af

Browse files
authored
fix(launchDoctor): support existing LD_LIBRARY_PATH (#3165)
1 parent f4e584e commit 9b502af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/validateDependencies.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function lddAsync(filePath: string): Promise<{stdout: string, stderr: string, co
121121
cwd: dirname,
122122
env: {
123123
...process.env,
124-
LD_LIBRARY_PATH: dirname,
124+
LD_LIBRARY_PATH: process.env.LD_LIBRARY_PATH ? `${process.env.LD_LIBRARY_PATH}:${dirname}` : dirname,
125125
},
126126
});
127127

0 commit comments

Comments
 (0)