From a2320aab1238f45c6dac30e0210d3756115a91d6 Mon Sep 17 00:00:00 2001 From: indexzero Date: Thu, 30 Oct 2014 03:23:50 -0400 Subject: [PATCH] [minor] Do not check for a variable twice. --- lib/forever.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/forever.js b/lib/forever.js index 272472dd..7f60be00 100644 --- a/lib/forever.js +++ b/lib/forever.js @@ -365,7 +365,7 @@ forever.stat = function (logFile, script, callback) { // forever.start = function (script, options) { if (!options.uid) { - options.uid = options.uid || utile.randomString(4).replace(/^\-/, '_'); + options.uid = utile.randomString(4).replace(/^\-/, '_'); } if (!options.logFile) {