]> git.pld-linux.org Git - packages/pure-ftpd.git/commitdiff
Rel 5; pure-uploadscript retval has meaning only if it is enabled auto/th/pure-ftpd-1.0.49-5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 1 Sep 2021 13:40:23 +0000 (15:40 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 1 Sep 2021 13:40:23 +0000 (15:40 +0200)
pure-ftpd.init

index 43a356866d3405f6d8d7887a955d9ba0eaf2ea1d..d3ba9d4af1e341ef98ef42aa55f691242ddf3289 100644 (file)
@@ -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
        ;;
This page took 0.140784 seconds and 4 git commands to generate.