Skip to content

Check for Empty Safe-Update file #88

Closed
@borpin

Description

save_to_update=$(curl -s https://raw.githubusercontent.com/openenergymonitor/EmonScripts/master/safe-update)

If an empty file is returned by the CRUL command, the error given to the user is that the image is too old rather than there was an error checking the safe-update.

Suggest the CURL tries a couple of times.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions