You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yousong Zhou b2aa820b48 base-files: fix getting gid from group_add_next
Shell function return code only has range [0, 255].  Other values will
be truncated, e.g. return 65536 will have the same effect as return 0

While at it, drop other "return $rc" where rc will almost always take
value 0 and whose value current callers actually do not check

Fixes FS#988

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years ago
..
functions base-files: make ucidef_set_led_rssi offset and factor optional 7 years ago
preinit base-files: drop unused preinit_echo function 7 years ago
upgrade base-files: upgrade: don't loop forever trying to kill processes 7 years ago
functions.sh base-files: fix getting gid from group_add_next 7 years ago