assign the absolute key path and not the relative one

This commit is contained in:
Johannes 'josch' Schauer 2020-01-21 13:38:53 +01:00
parent 3aef4dcc67
commit 75428e37dd
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -2724,10 +2724,10 @@ sub main() {
}
# since abs_path resolved all symlinks for us, we can now test
# what the actual target actually is
if (-d $opt_value) {
$options->{apttrustedparts} = $opt_value;
if (-d $abs_path) {
$options->{apttrustedparts} = $abs_path;
} else {
$options->{apttrusted} = $opt_value;
$options->{apttrusted} = $abs_path;
}
},
's|silent' => sub { $verbosity_level = 0; },