]> git.proxmox.com Git - pve-container.git/commitdiff
vzdump: log the warning about NFS properly
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 13 Nov 2017 10:49:22 +0000 (11:49 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 13 Nov 2017 10:49:23 +0000 (11:49 +0100)
Otherwise it's only visible on the command line.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/VZDump/LXC.pm

index e58a00e357c42c3d01521041b8ce992aa508f0c6..ae793dcdd5fd052e78f998b3dc63f56cfa114dbf 100644 (file)
@@ -230,8 +230,10 @@ sub copy_data_phase1 {
 
     if (my $mntinfo = PVE::VZDump::get_mount_info($task->{snapdir})) {
        if ($mntinfo->{fstype} =~ /^nfs4?/) {
-           warn "temporary directory is on NFS, disabling xattr and acl support"
-           . ", consider configuring a local tmpdir via /etc/vzdump.conf\n";
+           $self->loginfo(
+                "temporary directory is on NFS, disabling xattr and acl"
+               ." support, consider configuring a local tmpdir via"
+               ." /etc/vzdump.conf\n");
            $task->{no_xattrs} = 1;
        }
     }