Revert "mode_flag: make it empty array"

This reverts commit afe564f9a961f608d9c2b89aebe25e1c1c10063b.

Reason for revert:
Causes a breakage with on all legacy builders. See

Original change's description:
> mode_flag: make it empty array
> Since bash-4.4, "${array[@]:+${array[@]}}" resolves to "", whereas
> before it was resolving to an empty array.
> _check_mount_image_flags expects an empty array, make it so.
> BUG=None
> TEST=unit tests
> Change-Id: I9de8439bcd8e20098b162c21dd03b6adcc3ac856
> Reviewed-on:
> Commit-Queue: Sergey Frolov <>
> Tested-by: Sergey Frolov <>
> Reviewed-by: Mike Frysinger <>

Cq-Depend: chromium:2711674
Cq-Depend: chromium:2710230

Change-Id: I7747bb1bfdf4d35b5ca593eb239f4fc1d00745fd
Bot-Commit: Rubber Stamper <>
1 file changed