Skip to content

Commit

Permalink
Merge pull request #549 from prey/Fix-ubuntu-installation
Browse files Browse the repository at this point in the history
Fix ubuntu installation
  • Loading branch information
SoraKenji authored Jan 28, 2022
2 parents 10c4a08 + 8c5dcdb commit df85a09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/agent/plugins/control-panel/secure.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ exports.open_config = function(device_key, cb) {
cb();
system.get_logged_user((error, logged_user) => {
if(error) return;
exec(`sudo -u ${logged_user} ${common.root_path}/openwebbrowser.sh ${link} &`,

exec(`sudo -u ${logged_user} ${common.root_path}/lib/agent/utils/openwebbrowser.sh ${link} &`,
{
timeout: 200
}, (err, stderr, stdout) => {
Expand Down
File renamed without changes.

0 comments on commit df85a09

Please sign in to comment.