containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

build: Only clean files if they exist #573

Closed jodh-intel closed 6 years ago

jodh-intel commented 6 years ago

Check before attempting to delete a file that it exists (and is not "/").

Fixes #555.

Signed-off-by: James O. D. Hunt james.o.hunt@intel.com

jcvenegas commented 6 years ago

lgtm

devimc commented 6 years ago

lgtm

jodh-intel commented 6 years ago

Coveralls report: https://coveralls.io/jobs/32938558.

devimc commented 6 years ago

@jodh-intel ubuntu 17 is down , could you rebase this PR?

jodh-intel commented 6 years ago

Rebased.

sameo commented 6 years ago

LGTM

Approved with PullApprove Approved with PullApprove