We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3468479 commit 215b68dCopy full SHA for 215b68d
tools/uncloud-init
@@ -58,7 +58,7 @@ updateFrom() {
58
rsync -av "${mp}/updates/" "/" ||
59
{ log FAIL "failed rsync updates/ /"; return 1; }
60
fi
61
- if [ -d "${mp}/updates.tar" ]; then
+ if [ -f "${mp}/updates.tar" ]; then
62
tar -C / -xvf "${mp}/updates.tar" ||
63
{ log FAIL "failed tar -C / -xvf ${mp}/updates.tar"; return 1; }
64
0 commit comments