Commit 2377e6cb authored by Christopher Alfeld's avatar Christopher Alfeld

Fixed to do syntax check on set-hardware correctly. set-hardware will

accept either a class or a type.
parent 052a4b0e
......@@ -42,6 +42,11 @@ namespace eval TBCOMPAT {
set hwtypes($row) 1
}
sql endquery $DB
sql query $DB "select class from node_types"
while {[set row [sql fetchrow $DB]] != ""} {
set hwtypes($row) 1
}
sql endquery $DB
# And a os table with valid OSIDs
# We omit this check in anonymous mode.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment