Skip to content

Commit ef28d37

Browse files
committed
rm blobfuse-proxy before cp to avoid Text file busy error
1 parent b81c3f8 commit ef28d37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/blobfuse-proxy/init.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ fi
4848
if [ "$updateBlobfuseProxy" = "true" ];then
4949
echo "copy blobfuse-proxy...."
5050
rm -rf /host/var/lib/kubelet/plugins/blob.csi.azure.com/blobfuse-proxy.sock
51+
rm -rf /host/usr/bin/blobfuse-proxy
5152
cp /blobfuse-proxy/blobfuse-proxy /host/usr/bin/blobfuse-proxy
5253
chmod 755 /host/usr/bin/blobfuse-proxy
5354
fi

0 commit comments

Comments
 (0)