commit 554e5457194baeadd52b2cddf6778e1888bda9fc
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Wed Sep 1 15:40:23 2021 +0200

    Rel 5; pure-uploadscript retval has meaning only if it is enabled

 pure-ftpd.init | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/pure-ftpd.init b/pure-ftpd.init
index 43a3568..d3ba9d4 100644
--- a/pure-ftpd.init
+++ b/pure-ftpd.init
@@ -133,14 +133,15 @@ case "$1" in
        ;;
   status)
        status pure-ftpd
-       RETVAL=$?
-       PUREFTPDRETVAL=$RETVAL
+       PUREFTPD_RETVAL=$?
+       RETVAL=$PUREFTPD_RETVAL
 
        status pure-uploadscript
+       PUREUPLOADSCRIPT_RETVAL=$?
        if [ -n "$UPLOADSCRIPT" ]; then
-         RETVAL=$?
+         RETVAL=$PUREUPLOADSCRIPT_RETVAL
        fi
-       if [ $PUREFTPDRETVAL -eq 0 ]; then
+       if [ $PUREFTPD_RETVAL -eq 0 ]; then
                pure-ftpwho
        fi
        ;;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pure-ftpd.git/commitdiff/554e5457194baeadd52b2cddf6778e1888bda9fc

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to