From 1bb792ff2fecbe21f1a4c8395667946d0adf70e0 Mon Sep 17 00:00:00 2001 From: yinle Date: Mon, 21 May 2012 05:50:06 +0000 Subject: [PATCH] Fix bug 3527493:lsslp return incompete object information git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/lsslp.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index 408d31e99..65e90f9cd 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -314,8 +314,8 @@ sub parse_args { # Check the validation of -T option ############################################# if ( exists( $opt{T} )) { - $globalopt{time_out} = $opt{T}; - if ( $globalopt{time_out} !~ /^\d+$/ ) { + $globalopt{T} = $opt{T}; + if ( $globalopt{T} !~ /^\d+$/ ) { return( usage( "Invalid timeout value, should be number" )); } #if (!exists( $opt{C} )) {