[packages/pure-ftpd] Rel 5; pure-uploadscript retval has meaning only if it is enabled
arekm
arekm at pld-linux.org
Wed Sep 1 15:40:28 CEST 2021
commit 554e5457194baeadd52b2cddf6778e1888bda9fc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
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
More information about the pld-cvs-commit
mailing list