Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
dont want root to bind ports
Browse files Browse the repository at this point in the history
  • Loading branch information
noahc3 committed Jun 25, 2019
1 parent d3d2a7e commit 6afdd1d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions start.js
Expand Up @@ -39,9 +39,6 @@ if(os.platform() === 'win32') {
argv['enable-curses'] = false;
}

} else if (process.getuid() !== 0) {
console.error('Please run as root so we can bind to port 53 & 80');
process.exit();
}

argv.logfile = 'pegaswitch.log'
Expand Down

0 comments on commit 6afdd1d

Please sign in to comment.