Skip to content

Commit

Permalink
Fix remark from @julianduque
Browse files Browse the repository at this point in the history
  • Loading branch information
Kontakter committed Apr 24, 2014
1 parent af83c0e commit 23a217c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/forever.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ forever.start = function (script, options) {
forever.startDaemon = function (script, options) {
options = options || {};
options.uid = options.uid || utile.randomString(4).replace(/^\-/, '_');
options.logFile = forever.logFilePath(options.logFile || forever.config.store.logFile || options.uid + '.log');
options.pidFile = forever.pidFilePath(options.pidFile || forever.config.store.pidFile || options.uid + '.pid');
options.logFile = forever.logFilePath(options.logFile || forever.config.get('logFile') || options.uid + '.log');
options.pidFile = forever.pidFilePath(options.pidFile || forever.config.get('pidFile') || options.uid + '.pid');

var monitor, outFD, errFD, workerPath;

Expand Down

0 comments on commit 23a217c

Please sign in to comment.