Fail gracefully when no files to sign 31/6931/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 17 Oct 2017 02:14:01 +0000 (22:14 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 17 Oct 2017 19:42:09 +0000 (15:42 -0400)
commit78cd27df781aa5eba37fc6d215c389a59979eadd
tree050e3e42c81a89306d6a8e8a9be70380df4f9399
parentbfa488e82eacd8feb9412b6af66330b551d40c39
Fail gracefully when no files to sign

Fixes issue where if there are no files to sign detected the script just
hangs indefinitely. Instead if the files_to_sign array is empty then
exit 1 and inform user.

Change-Id: I82a5957faedfe739800305a8224fed67d2c74801
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
shell/sign