mirror of
https://github.com/vgough/encfs.git
synced 2024-11-26 01:43:39 +01:00
Be sure to test links and not their target
This commit is contained in:
parent
ec9e94f049
commit
97d1b83d71
@ -19,12 +19,12 @@ my @binattr = ("attr", "-l");
|
||||
if(system("which xattr > /dev/null 2>&1") == 0)
|
||||
{
|
||||
# Mac OS X
|
||||
@binattr = ("xattr", "-l");
|
||||
@binattr = ("xattr", "-s");
|
||||
}
|
||||
if(system("which lsextattr > /dev/null 2>&1") == 0)
|
||||
{
|
||||
# FreeBSD
|
||||
@binattr = ("lsextattr", "user");
|
||||
@binattr = ("lsextattr", "-h", "user");
|
||||
}
|
||||
|
||||
# Helper function
|
||||
|
Loading…
Reference in New Issue
Block a user