cros_generate_update_payload: Fix "cmp" command evaluation linter error.
The construction "if $(cmp ...);" will execute "cmp ..." and then the
output of the cmp command and evaluate the "if" condition based on the
exit code of that output execution. Since cmp doesn't print any output
in either case, the execution of its output doesn't actually execute
anything and the "if" uses the last exit code (from the cmp command
While this works, it is incorrect. This patch fixes the linter warning
by remoing the $().
Reviewed-by: Jason Kusuma <email@example.com>
Tested-by: Alex Deymo <firstname.lastname@example.org>
1 file changed