diff options
author | isaacs <i@izs.me> | 2010-10-24 05:37:52 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-10-24 05:37:52 +0400 |
commit | 3adf7987038c5f8545801a71a4d88bb0b9e81ce2 (patch) | |
tree | 90550cb60734d72b27f8719982e4a1d2129db831 | |
parent | d7c69821a01c8327f5468fe7a115f2537f908da9 (diff) |
dont' exit forcefully
-rw-r--r-- | lib/utils/prompt.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/prompt.js b/lib/utils/prompt.js index 3c047dd03..4669796da 100644 --- a/lib/utils/prompt.js +++ b/lib/utils/prompt.js @@ -53,7 +53,7 @@ function silentRead (def, cb) { stdin.pause() return cb(null, val) case "\u0003": case "\0": - process.exit() + return cb("cancelled") break default: val += buffer + c |