diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-09-24 02:02:40 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-09-24 02:02:40 +0000 |
commit | ade7c4ffb66b6c2c3a350db7f701ebfa567bbc06 (patch) | |
tree | a96b1d0e593ba859690f40aa5917e2095706afc7 /perl-install/printer/printerdrake.pm | |
parent | f813009e9e33fadfd0a6c28ed487fd1252b32b7e (diff) | |
download | drakx-ade7c4ffb66b6c2c3a350db7f701ebfa567bbc06.tar drakx-ade7c4ffb66b6c2c3a350db7f701ebfa567bbc06.tar.gz drakx-ade7c4ffb66b6c2c3a350db7f701ebfa567bbc06.tar.bz2 drakx-ade7c4ffb66b6c2c3a350db7f701ebfa567bbc06.tar.xz drakx-ade7c4ffb66b6c2c3a350db7f701ebfa567bbc06.zip |
don't ask when $in is not set in security_check()
Diffstat (limited to 'perl-install/printer/printerdrake.pm')
-rw-r--r-- | perl-install/printer/printerdrake.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm index 5e340701f..2616aebe1 100644 --- a/perl-install/printer/printerdrake.pm +++ b/perl-install/printer/printerdrake.pm @@ -3786,7 +3786,8 @@ sub security_check { # wants to activate the spooler in the given security mode. Stop the # operation of installing the spooler if he disagrees. my $securitystr = ($security == 4 ? N("high") : N("paranoid")); - if ($in->ask_yesorno(N("Installing a printing system in the %s security level", $securitystr), + if ($in && + $in->ask_yesorno(N("Installing a printing system in the %s security level", $securitystr), N("You are about to install the printing system %s on a system running in the %s security level. This printing system runs a daemon (background process) which waits for print jobs and handles them. This daemon is also accessible by remote machines through the network and so it is a possible point for attacks. Therefore only a few selected daemons are started by default in this security level. |