Skip to content

Commit

Permalink
hotfix: #3420
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Jan 23, 2018
1 parent 1960169 commit 673acf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Common.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,9 @@ Common.verifyConfs = function(appConfs){

// If no uid set and command runned as sudo, use the parent shell USER
// to set it to his uid and not root
if (!app.uid && process.env.SUDO_USER) {
app.uid = process.env.SUDO_USER;
}
// if (!app.uid && process.env.SUDO_USER) {
// app.uid = process.env.SUDO_USER;
// }

// Warn deprecates.
checkDeprecates(app);
Expand Down

0 comments on commit 673acf3

Please sign in to comment.