logger hang
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1,6 +1,5 @@ | ||||
| #!/usr/bin/perl | ||||
| # IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html | ||||
| #egan@us.ibm.com | ||||
| #(C)IBM Corp | ||||
|  | ||||
| # | ||||
| @@ -49,7 +48,8 @@ sub runcmd | ||||
|         $rc = $? >> 8; | ||||
|         if ($rc > 0) | ||||
|         { | ||||
|             `logger -t xcat @$outref`; | ||||
|             my $msg="$cmd returned rc=$rc\n"; | ||||
|             `logger -t xcat $msg`; | ||||
|         } | ||||
|     } | ||||
| 	return $rc; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user