Fix default action

This commit is contained in:
Liam McLoughlin
2012-10-22 19:55:03 +01:00
parent da74cb3641
commit 8a70c1a6ab

View File

@@ -38,7 +38,7 @@ function update_self() {
#!/bin/bash
if mv "${_tempFileName}" "$0"; then
rm -- "\$0"
exec env UPDATE=0 /bin/bash "$0" "$FW_REV"
exec env UPDATE=0 /bin/bash "$0" "${FW_REV}"
else
echo "Failed!"
fi