From 5ce542ecc749cb9a1e8d216c7181aeaebfbc3110 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Mon, 7 Jan 2019 23:01:10 -0800 Subject: Undo changes in case of failure to create file/dir/symlink File/dir/symlink creation is multi-step and may leave state behind in case of failure in one of the steps. Added best effort attempt to clean up. PiperOrigin-RevId: 228286612 Change-Id: Ib03c27cd3d3e4f44d0352edc6ee212a53412d7f1 --- runsc/fsgofer/BUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'runsc/fsgofer/BUILD') diff --git a/runsc/fsgofer/BUILD b/runsc/fsgofer/BUILD index ab12388ab..756c20ad7 100644 --- a/runsc/fsgofer/BUILD +++ b/runsc/fsgofer/BUILD @@ -18,6 +18,7 @@ go_library( "//pkg/log", "//pkg/p9", "//pkg/syserr", + "//runsc/specutils", "@org_golang_x_sys//unix:go_default_library", ], ) -- cgit v1.2.3