You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2013/08/27 20:59:40 UTC
svn commit: r1517924 - /vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm
Author: fapeeler
Date: Tue Aug 27 18:59:40 2013
New Revision: 1517924
URL: http://svn.apache.org/r1517924
Log:
fixed whitespaces
Modified:
vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm
Modified: vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm?rev=1517924&r1=1517923&r2=1517924&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm Tue Aug 27 18:59:40 2013
@@ -2499,12 +2499,13 @@ sub delete_user {
if ($home_directory_on_local_disk) {
# Fetch exclude_list
- my @exclude_list = $self->get_exclude_list();
- if (!(grep(/\/home\/$username/, @exclude_list))) {
+ my @exclude_list = $self->get_exclude_list();
+
+ if (!(grep(/\/home\/$username/, @exclude_list))) {
notify($ERRORS{'DEBUG'}, 0, "home directory will be deleted: $home_directory_path");
$userdel_command .= ' -r -f';
- }
+ }
}
$userdel_command .= " $username";