Skip to content

Commit

Permalink
Changing to the correct reboot command
Browse files Browse the repository at this point in the history
  • Loading branch information
monsur committed Dec 23, 2015
1 parent 6e53f7a commit 3dcff1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ var handleCoordinatorChange = function(result) {

unsubscribeAll(function() {
if (options.reboot) {
spawn('/sbin/shutdown', ['-r', 'now']);
spawn('sudo', ['/sbin/reboot']);
}
});
});
Expand Down

0 comments on commit 3dcff1a

Please sign in to comment.