Commit 79f19028 authored by nimrod's avatar nimrod
Browse files

fixup! Don't complain on missing files.

parent 8e306868
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ NR>2 {
        image_url = registry "/" $1 ":" $(i)
        image_file = dest "/" $1 "/" $(i) ".tar"
        printf "Saving %s to %s.\n", image_url, image_file
        system("[ -f " image_file " ] || rm " image_file)
        system("[ ! -f " image_file " ] || rm " image_file)
        if (system("skopeo copy docker://" image_url " docker-archive://" image_file) == 0)
            printf "Backup of %s was successful.\n", image_url
        else {