Added "cycle" to dependency table - Line #972

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sakolish 2008-03-11 12:13:49 +00:00
parent ce3652e36d
commit 7dceb9bdb5

View File

@ -969,7 +969,7 @@ sub process_request {
@exargs = ($request->{arg});
}
if ($command eq "rpower" and grep(/^on|off|boot|reset$/, @exargs)) {
if ($command eq "rpower" and grep(/^on|off|boot|reset|cycle$/, @exargs)) {
if (grep /^-d$/, @exargs) {
# handles 1 level of dependencies only
@{$request->{arg}} = grep(!/^-d$/, @{$request->{arg}});