Subversion Repositories ALCASAR

Rev

Blame | Last modification | View Log

--- install.pl.origin
+++ install.pl
@@ -553,7 +553,7 @@ sub UpgradeProfiles {
                                if( ! -f "$NfConf::PROFILEDATADIR/$profilepath/$channel/.nfstat") {
                                        # no shadow profile, but missing channel stat
                                        print "Rebuilding profile stats for '$profilegroup/$profilename'\n";
-                                       NfProfile::DoRebuild(\%profileinfo, $profilename, $profilegroup, $profilepath, 1, 0);
+                                       NfProfile::DoRebuild(*STDOUT, \%profileinfo, $profilename, $profilegroup, $profilepath, 1, 0);
                                        NfProfile::WriteProfile(\%profileinfo);
                                }
                                # make sure it's own by nfsen_uid after the rebuild
diff --git a/libexec/NfProfile.pm b/libexec/NfProfile.pm
index 1ca7436..d58fcd2 100644
--- libexec/NfProfile.pm.origin
+++ libexec/NfProfile.pm
@@ -3441,7 +3441,7 @@ sub CheckProfiles {
                                } else {
                                        $profileinfo{'type'} = 1;
                                }
-                               my $status = DoRebuild(\%profileinfo, $profile, $profilegroup, $profilepath, 0, 0);
+                               my $status = DoRebuild(*STDOUT, \%profileinfo, $profile, $profilegroup, $profilepath, 0, 0);
                                syslog('err', "Rebuilded profile '$profile' in group '$profilegroup': $status ");
                        }
                        if ( -f "$NfConf::PROFILESTATDIR/$profilepath/.CANCELED" ) {
@@ -3453,7 +3453,7 @@ sub CheckProfiles {
                                } else {
                                        $profileinfo{'type'} = 1;
                                }
-                               my $status = DoRebuild(\%profileinfo, $profile, $profilegroup, $profilepath, 0, 0);
+                               my $status = DoRebuild(*STDOUT, \%profileinfo, $profile, $profilegroup, $profilepath, 0, 0);
                                syslog('err', "Rebuilded profile '$profile' in group '$profilegroup': $status ");
                        }
                        if ( $profileinfo{'locked'} ) {