diff options
author | Callan Barrett <wizzomafizzo@gmail.com> | 2008-12-20 10:42:21 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2008-12-20 19:02:24 +0100 |
commit | 07a27f2f1dc6b6d168c4f443c9f6c8508ff5a288 (patch) | |
tree | 589be3cd394c2c81b6b98f7a981fc90b590ee743 | |
parent | e6f076addd68de7895c6f4cafaa2ef88b18e9e70 (diff) | |
download | aur-07a27f2f1dc6b6d168c4f443c9f6c8508ff5a288.tar.gz aur-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>
-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 4446648d..93d44562 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); } |