Author: arkurth
Date: Mon Jul 28 18:25:37 2014
New Revision: 1614110

URL: http://svn.apache.org/r1614110
Log:
VCL-770
Commented out call to check_cygwin in Windows.pm pre_capture subroutine. 
Setting the CYGWIN environment variable to "nodosfilewarning" does not seem to 
work correctly in the current version of Cygwin.

Modified:
    vcl/trunk/managementnode/lib/VCL/Module/OS/Windows.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/OS/Windows.pm
URL: 
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows.pm?rev=1614110&r1=1614109&r2=1614110&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/OS/Windows.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/OS/Windows.pm Mon Jul 28 18:25:37 
2014
@@ -329,15 +329,15 @@ sub pre_capture {
                notify($ERRORS{'DEBUG'}, 0, "unable to delete user, will try 
again after reboot");
        }
 
-=item *
-
- Make sure Cygwin is configured correctly
-
-=cut
-
-       if (!$self->check_cygwin()) {
-               notify($ERRORS{'WARNING'}, 0, "failed to verify that Cygwin is 
configured correctly");
-       }
+#=item *
+#
+# Make sure Cygwin is configured correctly
+#
+#=cut
+#
+#      if (!$self->check_cygwin()) {
+#              notify($ERRORS{'WARNING'}, 0, "failed to verify that Cygwin is 
configured correctly");
+#      }
 
 =item *
 
@@ -4090,7 +4090,7 @@ sub get_scheduled_task_info {
        
        # Attempt to retrieve scheduled task information
        my $command = $system32_path . '/schtasks.exe /Query /V /FO CSV';
-       my ($exit_status, $output) = $self->execute($command);
+       my ($exit_status, $output) = $self->execute($command, 0);
        if (!defined($output)) {
                notify($ERRORS{'WARNING'}, 0, "failed to run command to 
retrieve scheduled task information");
                return;


Reply via email to