mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-21 06:13:34 +08:00
Fix default action
This commit is contained in:
@@ -38,7 +38,7 @@ function update_self() {
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if mv "${_tempFileName}" "$0"; then
|
if mv "${_tempFileName}" "$0"; then
|
||||||
rm -- "\$0"
|
rm -- "\$0"
|
||||||
exec env UPDATE=0 /bin/bash "$0" "$FW_REV"
|
exec env UPDATE=0 /bin/bash "$0" "${FW_REV}"
|
||||||
else
|
else
|
||||||
echo "Failed!"
|
echo "Failed!"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user