Commit 07a27f2f authored by Callan Barrett's avatar Callan Barrett Committed by Loui Chang
Browse files

Add error checking to chmod on package submission

Try submitting an empty form to the aur

Signed-off-by: default avatarCallan Barrett <>
Signed-off-by: default avatarLoui Chang <>
parent e6f076ad
......@@ -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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment