summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-03 08:00:54 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-03 08:00:54 +0000
commit9f194074adfecbd6e60897732511f32855acd163 (patch)
treebfb701126e60ca8235a56b9e785c8a55a4c7ff57
parent73b93e875c243d293ea8f61974f587661aab8d20 (diff)
downloaddrakx-backup-do-not-use-9f194074adfecbd6e60897732511f32855acd163.tar
drakx-backup-do-not-use-9f194074adfecbd6e60897732511f32855acd163.tar.gz
drakx-backup-do-not-use-9f194074adfecbd6e60897732511f32855acd163.tar.bz2
drakx-backup-do-not-use-9f194074adfecbd6e60897732511f32855acd163.tar.xz
drakx-backup-do-not-use-9f194074adfecbd6e60897732511f32855acd163.zip
if no default value, then do not print one (aka for cron checks)
-rwxr-xr-xperl-install/standalone/draksec2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 8fb4e7494..bed8bc6c1 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -101,7 +101,7 @@ sub new_editable_combo {
sub set_default_tip {
my ($entry, $default, $opt) = @_;
my $help = $security::help::help{$opt};
- gtkset_tip(new Gtk2::Tooltips, $entry, join("\n", if_($help, $help), N("(default value: %s)", $default)));
+ gtkset_tip(new Gtk2::Tooltips, $entry, join("\n", if_($help, $help), if_($default, N("(default value: %s)", $default))));
}
my $msec = new security::msec;