From 3ea5e2d4e5dde266e958b980f84573b3929732ef Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 18 Jul 2011 08:56:06 +0000 Subject: [PATCH] scstadmin: Partially revert r3678. Checking whether a group name has been specified is the responsability of the Perl command line parser. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3683 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scstadmin/scstadmin.sysfs/scstadmin | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scstadmin/scstadmin.sysfs/scstadmin b/scstadmin/scstadmin.sysfs/scstadmin index 6eff0be5f..72bada6e1 100755 --- a/scstadmin/scstadmin.sysfs/scstadmin +++ b/scstadmin/scstadmin.sysfs/scstadmin @@ -425,8 +425,7 @@ sub getArgs { exit 1; } - if (defined($listGroupAttr) && (($driver eq '') || ($target eq '') || - ($listGroupAttr eq ''))) { + if (defined($listGroupAttr) && ($driver eq '') || ($target eq '')) { print "Please specify -driver, -target and group with -list_grp_attr.\n"; exit 1; }