add the option check for litefile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7da34b6fc2
commit
75ca53396d
@ -273,7 +273,7 @@ sub process_request {
|
||||
|
||||
# check the validity of the option
|
||||
if ($tmp[1] !~ /^(tmpfs|persistent|localdisk|rw|ro|con|link|tmpfs,rw|link,ro|link,persistent|link,con)$/) {
|
||||
$callback->({error=>[qq{ $tmp[2] has invalid option. The valid options: tmpfs persistent localdisk rw link tmpfs,rw link,ro link,persistent link,con}], errorcode=>[1]});
|
||||
$callback->({error=>[qq{ $tmp[2] has invalid option. The valid options: tmpfs persistent localdisk rw ro con link tmpfs,rw link,ro link,persistent link,con}], errorcode=>[1]});
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user