!73 【轻量级 PR】:bugfix system-info.sh

From: @wangxiaorou92
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-08-27 08:10:23 +00:00 committed by Gitee
commit af90d1395c
2 changed files with 5 additions and 2 deletions

View File

@ -69,7 +69,7 @@ do
echo -e "IP address: \t$ip_address"
done
echo -e "Users online: \t$user_num"
if [ "$whoiam"=="root" ]
if [ "$whoiam" == "root" ]
then
echo -e "\n"
else

View File

@ -5,7 +5,7 @@
%define dist_release_version 8
%define generic_version 20.03
%define generic_patch_level LTS
%define generic_release 41
%define generic_release 42
%define builtin_release_version 1.0
%define current_arch %{_arch}
@ -169,6 +169,9 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) /root/.cshrc
%changelog
* Thu Aug 26 2021 wangxiaorou <wangxiaorou@uniontech.com> - 1.0-42
- fix system-info.sh syntax error
* Thu 24 Aug 2021 miao_kaibo <miaokaibo@outlook.com> - 1.0-41
- bugfix I468W9