]> git.proxmox.com Git - pve-cluster.git/commitdiff
cfs_lock: add missing trailing newline
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 10 Nov 2017 09:24:24 +0000 (10:24 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 10 Nov 2017 10:28:03 +0000 (11:28 +0100)
When we do not instantly get the lock we print a respective message
to stderr. This shows also up in the task logs, and if it's the last
message before a 'Task OK' the UI gets confused an shows the task as
erroneous.

Keep the message as its a good feedback for the user to see why an op
seems to do nothing, so simply add a trailing newline.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/Cluster.pm

index 21c1f1363e3bcbbbe696d253aa81ab3a88f18479..e248f7fdeec8c3e93f42edc386ba791232c7784f 100644 (file)
@@ -890,7 +890,7 @@ my $cfs_lock = sub {
 
            $timeout_err->() if $timeout <= 0;
 
-           print STDERR "trying to aquire cfs lock '$lockid' ...";
+           print STDERR "trying to aquire cfs lock '$lockid' ...\n";
            utime (0, 0, $filename); # cfs unlock request
            sleep(1);
        }