From d02e6ebd321f82c1e7d7806fd210def56b1fdb8c Mon Sep 17 00:00:00 2001 From: MaximZaitsev Date: Thu, 14 Jul 2016 16:35:20 +0300 Subject: [PATCH] corrected error message if st-flash not exist --- car_net/stFlashServer/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/car_net/stFlashServer/main.js b/car_net/stFlashServer/main.js index dc3ff73a09f..277ed9b2c3e 100644 --- a/car_net/stFlashServer/main.js +++ b/car_net/stFlashServer/main.js @@ -44,7 +44,7 @@ handle["/loadBin"] = handlers.loadBin; handle["/control"] = handlers.control; handle["/other"] = handlers.other; -fs.access(exports.commandPrefix, fs.F_OK, function (error) { +fs.access(executeShell, fs.F_OK, function (error) { if (!error) { server.start(router.route, handle); } else {