Permalink
Browse files

Allow larger execFile buffer

  • Loading branch information...
1 parent d1a3d9a commit 23e2c342088a67ea03a5fd2ca960c82d4c79ba10 @calmh committed Oct 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/zfs.js
View
@@ -28,7 +28,7 @@ var zfsBin = findCmd('zfs');
function zfs(args, callback) {
"use strict";
- cp.execFile(zfsBin, args, {}, function (err, stdout, stderr) {
+ cp.execFile(zfsBin, args, {maxBuffer: 8000000}, function (err, stdout, stderr) {
if (callback && typeof callback === 'function') {
if (err) {
err.message = _.compact(err.message.split('\n')).join('; ').trim();

0 comments on commit 23e2c34

Please sign in to comment.