diff options
author | Niels Thykier <niels@thykier.net> | 2017-10-23 21:18:21 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-10-23 21:18:21 +0000 |
commit | 0fdb77d6c3fc2134200d8e96e4d7fc60a1382909 (patch) | |
tree | 59beeb95fca2ab3a5ab706fd5b6f91f1dfc0771c /dh_usrlocal | |
parent | 2ecd29c27890d7a8d097144f65cc21f59c740709 (diff) |
dh_usrlocal: Fix inverted boolean logic
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_usrlocal')
-rwxr-xr-x | dh_usrlocal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_usrlocal b/dh_usrlocal index 9d367f5e..5e06e658 100755 --- a/dh_usrlocal +++ b/dh_usrlocal @@ -85,7 +85,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { my $user = 'root'; my $group = 'staff'; my $mode = '02775'; - if (not should_use_root()) { + if (should_use_root()) { my $stat = stat $fn; $user = getpwuid $stat->uid; $group = getgrgid $stat->gid; |