Permalink
Browse files

Don't use "root" as a zpool name, reserved

  • Loading branch information...
1 parent e5a54a6 commit 94a335c38f10516f29223788da88c5a1304d67af @kmoore134 kmoore134 committed Aug 8, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 src-qt4/pc-installgui/wizardDisk.cpp
@@ -222,6 +222,10 @@ bool wizardDisk::validatePage()
button(QWizard::NextButton)->setEnabled(false);
return false;
}
+ if ( lineZpoolName->text() == "root" ) {
+ button(QWizard::NextButton)->setEnabled(false);
+ return false;
+ }
if ( lineZpoolName->text().contains(" ") ) {
button(QWizard::NextButton)->setEnabled(false);
return false;

0 comments on commit 94a335c

Please sign in to comment.