View | Details | Raw Unified | Return to bug 255106 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/caddy/files/caddy.in (-1 / +3 lines)
Lines 150-156 caddy_prestop() Link Here
150
        echo "done"
150
        echo "done"
151
        exit 0
151
        exit 0
152
    else
152
    else
153
        if echo "${result}" | grep -q "connection refused"; then
153
        if echo "${result}" | grep -q -e "connection refused" \
154
            -e "connect: no such file or directory"; then
155
154
            echo "admin interface unavailable; using pidfile"
156
            echo "admin interface unavailable; using pidfile"
155
            return 0
157
            return 0
156
        else
158
        else

Return to bug 255106