From c048553306480ba85fe77fcdee618c854acfe03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20G=C3=B6dderz?= Date: Thu, 4 Jul 2019 14:39:01 +0200 Subject: [PATCH] Don't use non-existent variable --- js/client/modules/@arangodb/process-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client/modules/@arangodb/process-utils.js b/js/client/modules/@arangodb/process-utils.js index 7eb2f2e60383..2a8003847792 100755 --- a/js/client/modules/@arangodb/process-utils.js +++ b/js/client/modules/@arangodb/process-utils.js @@ -1681,7 +1681,7 @@ function startArango (protocol, options, addArgs, rootDir, role) { if (platform.substr(0, 3) === 'win' && !options.disableMonitor) { if (!runProcdump(options, instanceInfo, rootDir, instanceInfo.pid)) { print('Killing ' + ARANGOD_BIN + ' - ' + JSON.stringify(args)); - let res = killExternal(res.pid); + let res = killExternal(instanceInfo.pid); instanceInfo.pid = res.pid; instanceInfo.exitStatus = res; throw new Error("launching procdump failed, aborting.");