mirror of
https://github.com/vgough/encfs.git
synced 2024-11-22 07:53:31 +01:00
Run sudo tests checking effective UID
This commit is contained in:
parent
c7cea40ddc
commit
fbe0c52aaa
@ -44,7 +44,7 @@ if(system("./build/encfs --verbose --version 2>&1 | grep -q HAVE_XATTR") != 0)
|
|||||||
|
|
||||||
# Did we ask, or are we simply able to run "sudo" tests ?
|
# Did we ask, or are we simply able to run "sudo" tests ?
|
||||||
my $sudo_cmd;
|
my $sudo_cmd;
|
||||||
if (! $<)
|
if ($> == 0)
|
||||||
{
|
{
|
||||||
$sudo_cmd="";
|
$sudo_cmd="";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user