Skip to content

Commit

Permalink
Load the forever lib relative to the binary rather than using module …
Browse files Browse the repository at this point in the history
…notation.
  • Loading branch information
kpdecker committed Feb 27, 2011
1 parent f11321f commit 11ffce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/forever
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (accepts.indexOf(process.argv[2]) !== -1) {
var argv = require('optimist').argv;
require.paths.unshift(path.join(__dirname, '..', 'lib'));

var forever = require('forever');
var forever = require('../lib/forever');

var help = [
"usage: forever [start | stop | restart | stopall | list | cleanlogs] [options] SCRIPT [script options]",
Expand Down

0 comments on commit 11ffce8

Please sign in to comment.