diff options
author | Callan Barrett <wizzomafizzo@gmail.com> | 2008-12-20 18:42:21 +0900 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2008-12-20 13:02:24 -0500 |
commit | 07a27f2f1dc6b6d168c4f443c9f6c8508ff5a288 (patch) | |
tree | 589be3cd394c2c81b6b98f7a981fc90b590ee743 /web/html/pkgsubmit.php | |
parent | e6f076addd68de7895c6f4cafaa2ef88b18e9e70 (diff) | |
download | aurweb-07a27f2f1dc6b6d168c4f443c9f6c8508ff5a288.tar.xz |
Add error checking to chmod on package submission
Try submitting an empty form to the aur
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/html/pkgsubmit.php')
-rw-r--r-- | 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); } |