Browse files

corrected homedir code

  • Loading branch information...
1 parent 1b69055 commit e7dbd3fd8572d8fb8d7d14b2db2a2c67020f46f0 @graysky2 committed Sep 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 profile-sync-daemon
View
2 profile-sync-daemon
@@ -28,7 +28,7 @@ DAEMON_FILE=${DAEMON_FILE:-"/run/psd"}
set_which() {
local user=$1
local browser=$2
- homedir="$(getent passwd $SUDO_USER | grep $user | cut -d: -f6)"
+ homedir="$(getent passwd $user | cut -d: -f6)"
group="$(stat -c %G $homedir)"
# reset global variables

0 comments on commit e7dbd3f

Please sign in to comment.