Skip to content

Commit

Permalink
Fixed run as current user in Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas committed Jun 24, 2010
1 parent 51344e5 commit 89d1423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/updater
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ install_or_update_module(){
rm -Rf "$base_path/modules/$1"
fi

log ' -- Putting new module in its right position...'
log ' -- Putting new module where it belongs...'
mv "$tmpdir/$1.tmp/$1" "$base_path/modules/$1"

log ' -- Cleaning up...'
Expand Down
2 changes: 1 addition & 1 deletion platform/mac/functions
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

run_as_current_user(){
if [ "`whoami`" == "root" ]; then
launchctl bsexec $logged_pid "$1"
launchctl bsexec $logged_pid $1
else
$1
fi
Expand Down

0 comments on commit 89d1423

Please sign in to comment.