Merge branch 'maint'
* maint: t1304: fall back to $USER if $LOGNAME is not defined
This commit is contained in:
@ -25,6 +25,11 @@ else
|
|||||||
test_set_prereq SETFACL
|
test_set_prereq SETFACL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test -z "$LOGNAME"
|
||||||
|
then
|
||||||
|
LOGNAME=$USER
|
||||||
|
fi
|
||||||
|
|
||||||
check_perms_and_acl () {
|
check_perms_and_acl () {
|
||||||
test -r "$1" &&
|
test -r "$1" &&
|
||||||
getfacl "$1" > actual &&
|
getfacl "$1" > actual &&
|
||||||
|
Reference in New Issue
Block a user