message: fix: tools/curl-config.js not being executable and calling undefined exit fn
diff: @@ -11,7 +11,7 @@ const { argv } = process
  if (!argv[2]) {
  console.error('Missing argument to curl-config')
  - exit(1)
  + process.exit(1)
  }
  const arg = argv[2].trim()
  @@ -19,7 +19,7 @@ const arg = argv[2].trim()
  exec('curl-config ' + arg, function(error, stdout, stderr) {
  if (error != null) {
  console.error(
  - 'Could not run curl-config, please make sure libcurl dev package is installed.'
  + 'Could not run curl-config, please make sure libcurl dev package is installed.',
  )
  console.error('Output: ' + stderr)
  process.exit(1)
  