summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 28d7c5c)
raw | patch | inline | side by side (parent: 28d7c5c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jun 2007 10:07:05 +0000 (10:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jun 2007 10:07:05 +0000 (10:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6655 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 625798172f048c9b313ce721ed75aac203e111ee..1223d9e598e1ed1245dc188074ac4bfb1225d7d2 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));
}