diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index 824566b6c..4681c7b9d 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -4572,7 +4572,7 @@ sub parse_rsync_input_file_on_SN { $dest_dir = $dest_file; } - else + else # a file path { $dest_dir = dirname($dest_file); }