mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	defect 3539473: disable the xcatdebug to be run on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| =head1 NAME | ||||
|  | ||||
| B<xcatdebug> - Enable or disable the trace facilities for xCAT. | ||||
| B<xcatdebug> - Enable or disable the trace facilities for xCAT. (Only supports Linux Operating System) | ||||
|  | ||||
| B<xcatdebug> { [B<-f enable|disable> [B<-c configuration file | subroutine list>]] | [ B<-d enable |disable>]} | ||||
|  | ||||
|   | ||||
| @@ -49,6 +49,11 @@ if ( | ||||
|     exit 1; | ||||
| } | ||||
|  | ||||
| if ($^O !~ /^linux/i) { | ||||
|   print "xcatdebug command only supports Linux Operating System.\n"; | ||||
|   exit 1; | ||||
| } | ||||
|  | ||||
| if (!($::FUNC || $::DEBUG)) { | ||||
|   print "$usage"; | ||||
|   exit 1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user