roms: add return value for the list command

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-06-28 14:56:30 +01:00
parent 3f540e7565
commit 359d00bd56
1 changed files with 1 additions and 1 deletions

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