Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize cleanup of temp files #88

Merged
merged 1 commit into from
Apr 7, 2021

Commits on Apr 7, 2021

  1. Standardize cleanup of temp files

    In the case of an error or if the files were otherwise deleted, the
    previous commit would try to delete $tmp twice.  This commit adds an
    array to hold the temp file names and deletes them on exit, checking the
    existence of each one.
    
    Also check if $metrics_tmp is >0 bytes before running xargs.  It could
    be empty if there are no files to tidy.
    m0dular committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    585eece View commit details
    Browse the repository at this point in the history