diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2017-11-09 17:29:56 +0800 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2017-11-09 17:42:36 +0800 |
commit | b2aa820b48add74b97e0eab993ede648c43e85db (patch) | |
tree | cc81c5e726d0f63d8ee1b8ae5fb292e0e1773908 /tools | |
parent | a6e9d146f2bf1434f6645e72a7dc99166b5021fb (diff) | |
download | upstream-b2aa820b48add74b97e0eab993ede648c43e85db.tar.gz upstream-b2aa820b48add74b97e0eab993ede648c43e85db.tar.bz2 upstream-b2aa820b48add74b97e0eab993ede648c43e85db.zip |
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions