From 0550cac5c7348eca0b24e9d66f537089302d0ab3 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 11 Mar 2018 11:00:22 +0800 Subject: cmd_status: return the update status instead of always 0 --- dfly-update | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dfly-update') 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 -- cgit v1.2.2