openwrt/package/base-files/files/lib
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>
2017-11-09 17:42:36 +08:00
..
functions base-files: make ucidef_set_led_rssi offset and factor optional 2017-06-17 15:38:19 +02:00
preinit base-files: drop unused preinit_echo function 2017-08-09 23:23:06 +02:00
upgrade base-files: upgrade: don't loop forever trying to kill processes 2017-07-20 21:41:33 +02:00
functions.sh base-files: fix getting gid from group_add_next 2017-11-09 17:42:36 +08:00