Author: arkurth
Date: Thu Jan 14 21:31:47 2016
New Revision: 1724698

URL: http://svn.apache.org/viewvc?rev=1724698&view=rev
Log:
Fixed typo in notify messages: losf -> lsof

Modified:
    vcl/trunk/managementnode/lib/VCL/Module/Semaphore.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/Semaphore.pm
URL: 
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Semaphore.pm?rev=1724698&r1=1724697&r2=1724698&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Semaphore.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Semaphore.pm Thu Jan 14 21:31:47 
2016
@@ -252,11 +252,11 @@ sub get_lockfile_owning_pid {
        # Run lsof to determine which process is locking the file
        my ($exit_status, $output) = $self->mn_os->execute("/usr/sbin/lsof -Fp 
$file_path", 0, 10);
        if (!defined($output)) {
-               notify($ERRORS{'WARNING'}, 0, "failed to run losf command to 
determine which process is locking the file: $file_path");
+               notify($ERRORS{'WARNING'}, 0, "failed to run lsof command to 
determine which process is locking the file: $file_path");
                return;
        }
        elsif (grep(/no such file/i, @$output)) {
-               notify($ERRORS{'WARNING'}, 0, "losf command reports that the 
file does not exist: $file_path");
+               notify($ERRORS{'WARNING'}, 0, "lsof command reports that the 
file does not exist: $file_path");
                return;
        }
        


Reply via email to