roms: add return value for the list command

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2024-06-28 14:56:30 +01:00 committed by Leah Rowe
parent 5907022703
commit bd8f0e0bbb

View file

@ -40,7 +40,7 @@ main()
eval "x_ ./update trees -f \"\${${2}src##*/}\""
ser="$2" && shift 2 && continue
fi
[ "$1$ser" = "list" ] && x_ ls -1 config/coreboot && return
[ "$1$ser" = "list" ] && x_ ls -1 config/coreboot && return 0
[ "$1" = "all" ] && shift && continue
boards="$1 $boards"; shift 1
done