Skip to content

Commit 8e5f0e3

Browse files
Don't print unchanged parameters
1 parent e062a9a commit 8e5f0e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/upgrade/to-14.1-crypt-at-rest.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ sub update_config_controller {
5858
for my $section ($ini->Sections()) {
5959
for my $param ($ini->Parameters($section)) {
6060
next if (!exists $fields2Encrypt{$param});
61-
print "Changing $section.$param\n";
6261
my $val = $ini->val($section, $param);
6362
next if length($val) == 0;
63+
print "Changing $section.$param\n";
6464
$val = pf::config::crypt::pf_encrypt($val);
6565
$ini->setval($section, $param, $val);
6666
$changed |= 1;

0 commit comments

Comments
 (0)