Try submitting an empty form to the aur

Signed-off-by: Callan Barrett <[email protected]>
---
 web/html/pkgsubmit.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 4446648..93d4456 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -241,7 +241,7 @@ if ($_COOKIE["AURSID"]):
                }
 
                # Chmod files after everything has been done.
-               if (!chmod_group($incoming_pkgdir)) {
+               if (!error && !chmod_group($incoming_pkgdir)) {
                        $error = __("Could not chmod directory %s.", 
$incoming_pkgdir);
                }
 
-- 
1.6.0.2

Reply via email to