mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
default owner_toggle to off it is not in the config file
This commit is contained in:
@@ -920,6 +920,9 @@ sub autodep_base($$) {
|
||||
($repo_cfg->{repository}{enabled} eq "later") ) {
|
||||
UI_ask_to_enable_repo();
|
||||
}
|
||||
if ((not defined $owner_toggle)) {
|
||||
$owner_toggle = 0;
|
||||
}
|
||||
}
|
||||
|
||||
my $fqdbin;
|
||||
@@ -3540,7 +3543,7 @@ sub ask_the_questions {
|
||||
my $prompt_mode;
|
||||
if ($owner_toggle == 0) {
|
||||
$prompt_mode = flatten_mode($mode);
|
||||
$tail = " " . gettext("(owner permissions off");
|
||||
$tail = " " . gettext("(owner permissions off)");
|
||||
} elsif ($owner_toggle == 1) {
|
||||
$prompt_mode = $mode;
|
||||
$tail = "";
|
||||
|
Reference in New Issue
Block a user