diff --git a/mmdebstrap b/mmdebstrap index 5fb0737..1450680 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -5011,6 +5011,10 @@ sub main() { 0 == system(@gpgcmd, '--update-trustdb') or error "gpg failed to initialize trustdb:: $?"; } + if (!-d $options->{apttrustedparts}) { + warning "$options->{apttrustedparts} doesn't exist"; + last; + } # find all the fingerprints of the keys apt currently # knows about my @keyrings = ();