mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 02:30:21 +00:00
Add timestamp for every cmd log in xcatteat log
This commit is contained in:
@@ -907,7 +907,8 @@ sub runcase
|
||||
|
||||
#by
|
||||
my $runstart = timelocal(localtime());
|
||||
log_this("\nRUN:$cmd");
|
||||
my $runstartstr = scalar(localtime());
|
||||
log_this("\nRUN:$cmd [$runstartstr]");
|
||||
push(@record, "\nRUN:$cmd");
|
||||
@output = &runcmd($cmd);
|
||||
$rc = $::RUNCMD_RC;
|
||||
|
Reference in New Issue
Block a user