Skip to content

Commit 7b879bf

Browse files
authored
Merge pull request #134 from riiengineering/fix/type/__uci/wc
__uci: Fix line count
2 parents 2356ac5 + a073f25 commit 7b879bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

type/__uci/gencode-remote

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ in
4545
;;
4646
('')
4747
# Guess type by the number of values
48-
if test "$(wc -l "${__object:?}/parameter/value")" -gt 1
48+
if test "$(wc -l <"${__object:?}/parameter/value")" -gt 1
4949
then
5050
type=list
5151
else

0 commit comments

Comments
 (0)