diff options
author | Aaron LI <aly@aaronly.me> | 2018-03-11 11:00:22 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-11 11:00:22 +0800 |
commit | 0550cac5c7348eca0b24e9d66f537089302d0ab3 (patch) | |
tree | a22f7245e91ef77a403e51a5a528d02e6c4ac2bf | |
parent | bbf6566edfa04f188ea6e626f53e5e81b45c3f54 (diff) | |
download | dfly-update-0550cac5c7348eca0b24e9d66f537089302d0ab3.tar.bz2 |
cmd_status: return the update status instead of always 0
-rwxr-xr-x | dfly-update | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dfly-update b/dfly-update index 13e4dfe..5f9d78e 100755 --- a/dfly-update +++ b/dfly-update @@ -642,6 +642,8 @@ _EOF_ _FILENAME="${_filename}" _MD5=${_md5} _HAS_UPDATE=${has_update} + + return ${has_update} } # Download the given image and check aginst the given MD5 |