Skip to content

Commit bb8caad

Browse files
committed
Merge branch 'wk/t1304-wo-USER'
* wk/t1304-wo-USER: t1304: Set LOGNAME even if USER is unset or null
2 parents 7fc311d + 7544b2e commit bb8caad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1304-default-acl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ test_expect_success 'checking for a working acl setup' '
2626

2727
if test -z "$LOGNAME"
2828
then
29-
LOGNAME=$USER
29+
LOGNAME="${USER:-$(id -u -n)}"
3030
fi
3131

3232
check_perms_and_acl () {

0 commit comments

Comments
 (0)