summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer/BUILD
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2019-01-07 23:01:10 -0800
committerShentubot <shentubot@google.com>2019-01-07 23:02:19 -0800
commit5ce542ecc749cb9a1e8d216c7181aeaebfbc3110 (patch)
treeb9be8e1829e0bc3c79399ee9cf8ce1162aeaff05 /runsc/fsgofer/BUILD
parentdc4849e49c354ee43256a4a117a217f86767a059 (diff)
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
Diffstat (limited to 'runsc/fsgofer/BUILD')
-rw-r--r--runsc/fsgofer/BUILD1
1 files changed, 1 insertions, 0 deletions
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",
],
)