2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-24 04:00:26 +00:00

[xCAT-client]xdshbak: make -x match manpage

This commit is contained in:
Samveen Gulati
2016-09-02 12:16:01 +00:00
parent 2742a29bcf
commit 7b6b421b17

View File

@@ -236,7 +236,9 @@ sub print_list
if (!$::opt_x) { ($num_hosts >= 1) && print "\n"; }
$num_hosts++;
if ($::opt_x) { print "$hostname: $ls{$hostname}"; }
if ($::opt_x) {
map { print "$hostname: $_\n" } split(/\n/, $ls{$hostname});
}
else
{