From 31438676de05a2911cefd7c728cb1a9315708def Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 16 Jan 2008 17:02:07 +0000 Subject: [PATCH] Updated gosa-updater git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8420 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/update-gosa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index 4c63d13e0..d7f249d20 100755 --- a/gosa-core/update-gosa +++ b/gosa-core/update-gosa @@ -58,7 +58,7 @@ $class_mapping= get_classes(); $filename= "include/class_location.inc"; /* Sanity checks */ -if (is_writable($filename)) { +if (!file_exists($filename) || is_writable($filename)) { if (!$handle= fopen($filename, 'w')) { echo "Cannot open file \"$filename\" - aborted\n"; -- 2.30.2