8000 Don't use non-existent variable (#9407) · arangodb/arangodb@9668561 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9668561

Browse files
goedderzjsteemann
authored andcommitted
Don't use non-existent variable (#9407)
1 parent f9c93c2 commit 9668561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/client/modules/@arangodb/process-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@ function startArango (protocol, options, addArgs, rootDir, role) {
16811681
if (platform.substr(0, 3) === 'win' && !options.disableMonitor) {
16821682
if (!runProcdump(options, instanceInfo, rootDir, instanceInfo.pid)) {
16831683
print('Killing ' + ARANGOD_BIN + ' - ' + JSON.stringify(args));
1684-
let res = killExternal(res.pid);
1684+
let res = killExternal(instanceInfo.pid);
16851685
instanceInfo.pid = res.pid;
16861686
instanceInfo.exitStatus = res;
16871687
throw new Error("launching procdump failed, aborting.");

0 commit comments

Comments
 (0)
0