Comment 1 for bug 1783604

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hmm, well there is an empty string check, but then we run sed on it, which might result in an empty string:

        if [ -z "$output" ]; then
                rm -f "$BYOBU_RUN_DIR/status.$BYOBU_BACKEND/custom"*
                return
        fi
        printf "$output" | $BYOBU_SED ':a;N;$!ba;s/\n//g'