]> git.pld-linux.org Git - packages/pure-ftpd.git/blobdiff - pure-ftpd.init
Rel 5; pure-uploadscript retval has meaning only if it is enabled
[packages/pure-ftpd.git] / 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.215102 seconds and 4 git commands to generate.