Skip to content

Commit

Permalink
Merge branch 'wk/t1304-wo-USER'
Browse files Browse the repository at this point in the history
* wk/t1304-wo-USER:
  t1304: Set LOGNAME even if USER is unset or null
  • Loading branch information
Junio C Hamano committed Oct 24, 2014
2 parents 7fc311d + 7544b2e commit bb8caad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t1304-default-acl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test_expect_success 'checking for a working acl setup' '

if test -z "$LOGNAME"
then
LOGNAME=$USER
LOGNAME="${USER:-$(id -u -n)}"
fi

check_perms_and_acl () {
Expand Down

0 comments on commit bb8caad

Please sign in to comment.