From: hickert Date: Thu, 21 Jun 2007 10:07:05 +0000 (+0000) Subject: Allow - as mount point X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=03b7c749cf2b806e7bcb1be303020466d1d28a8a;p=gosa.git Allow - as mount point git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6655 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPartitionTableEntry.inc b/plugins/admin/fai/class_faiPartitionTableEntry.inc index 625798172..1223d9e59 100644 --- a/plugins/admin/fai/class_faiPartitionTableEntry.inc +++ b/plugins/admin/fai/class_faiPartitionTableEntry.inc @@ -391,7 +391,7 @@ class faiPartitionTableEntry extends plugin $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)); }