2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-12 06:20:14 +00:00

Remove trailing spaces in file perl-xCAT/xCAT/DSHCore.pm

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent 3b800aec1d
commit 1f4bd04b72

View File

@@ -29,13 +29,13 @@ use xCAT::Utils;
Returns:
$pid - process identifer for the forked process
Globals:
None
Error:
None
Example:
$pid = xCAT::DSHCore->fork_no_output('hostname1PID', @command_array);
@@ -94,13 +94,13 @@ sub fork_no_output
Returns:
$pid - process identifer for the forked process
Globals:
None
Error:
None
Example:
$pid = xCAT::DSHCore->fork_no_output('hostname1PID', @command_array);
@@ -168,7 +168,7 @@ sub fork_output
Forks a process for the given command array and returns the process
ID for the forked process and references to all I/O pipes for STDOUT
and STDERR. In the child process, it will invoke the xCAT::DSHCore->fork_no_output()
for the first command which is a no-output command and waitpid(). And then execute
for the first command which is a no-output command and waitpid(). And then execute
the left commands in the child process.
Arguments:
@@ -177,13 +177,13 @@ sub fork_output
Returns:
$pid - process identifer for the forked process
Globals:
None
Error:
None
Example:
$pid = xCAT::DSHCore->fork_output_for_commands('hostname1PID', @command_array);
@@ -274,13 +274,13 @@ sub fork_output_for_commands
Returns:
1 if the EOF reached on $read_fh
undef otherwise
Globals:
None
Error:
None
Example:
Comments:
@@ -479,13 +479,13 @@ sub pipe_handler
Returns:
1 if the EOF reached on $read_fh
undef otherwise
Globals:
None
Error:
None
Example:
Comments:
@@ -640,13 +640,13 @@ sub pipe_handler_buffer
Returns:
@no_response - list of hostnames that did not respond
undef if fping is not installed
Globals:
None
Error:
None
Example:
@bad_hosts = xCAT::DSHCore->ping_hostnames(@host_list);