Commit 54629a46 authored by Julien DOCHE's avatar Julien DOCHE
Browse files

Change reset deletion order to avoid racecondition



If the k3s binary is launched after the deletion of `/var/lib/rancher/k3s`, k3s
will automatically create this directory. This change deletes the k3s binary
first so that it cannot be called after `/var/lib/rancher/k3s` is deleted

Signed-off-by: default avatarJulien DOCHE <julien.doche@gmail.com>
parent f1163ffc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment