[aur-dev] [PATCH] Add error checking to chmod on package submission
Try submitting an empty form to the aur Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> --- 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
On Sat, Dec 20, 2008 at 06:42:21PM +0900, Callan Barrett wrote:
Try submitting an empty form to the aur
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> --- web/html/pkgsubmit.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Pushed.
participants (2)
-
Callan Barrett
-
Loui Chang