summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 71b90ee)
raw | patch | inline | side by side (parent: 71b90ee)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jun 2007 10:06:26 +0000 (10:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jun 2007 10:06:26 +0000 (10:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6654 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPartitionTableEntry.inc | patch | blob | history |
diff --git a/plugins/admin/fai/class_faiPartitionTableEntry.inc b/plugins/admin/fai/class_faiPartitionTableEntry.inc
index 76d2fcb5864987b2524379856fcebef0cd51a77e..1b9a5b9dafc578707e400ac3fc4e4b207fbb3960 100644 (file)
$message[]=sprintf(_("please enter a unique mount point for partition %s"),($key));
}
- if($part['FAIfsType']!="swap"){
+ if($part['FAIfsType']!="swap" && $part['FAImountPoint'] != "-"){
if((empty($part['FAImountPoint']))||(!((preg_match("/^\/.*/",$part['FAImountPoint']))||(preg_match("/^swap$/",$part['FAImountPoint']))))){
$message[]=sprintf(_("Please enter a valid mount point for partition %s." ),($key));
}