Developing lightweight computation at the DSG edge

Commit 43c21b6e authored by Simó Albert i Beltran's avatar Simó Albert i Beltran
Browse files

Import "Abort qmpcontrol upgrade if device is not found". References #254.

parents b4f13298 dfc6ce3c
......@@ -84,6 +84,7 @@ qmp_update_check() {
device_hash="$(qmp_update_get_local_hash)"
my_device="$(qmp_update_get_my_device $url/$devices $device_hash $filter)"
[ -z "$my_device" ] && qmp_error "I am sorry, I cannot find an image for your device in $url"
qmp_debug "My device is $my_device"
last_image="$(qmp_update_get_last_image_name $url/$images $filter)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment