From 3859907e74cf8629c49bc6901fefb3162ea23003 Mon Sep 17 00:00:00 2001 From: Andrey Sidorov Date: Tue, 19 Aug 2014 17:32:54 +1000 Subject: [PATCH] chomp --- lib/ipc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ipc.js b/lib/ipc.js index 85d87ed..4562b3a 100644 --- a/lib/ipc.js +++ b/lib/ipc.js @@ -27,6 +27,7 @@ function createStream(opts, callback) { }); } else { require('child_process').exec(GET_SOCKET_PATH_CMD, function(err, path) { + path = path.replace('\n', ''); if (err) return callback(err); createStream({path: path}, callback);