bugfix system-info.sh

This commit is contained in:
wangxiaorou 2021-08-26 09:02:41 +00:00 committed by Gitee
parent 04f307c9bb
commit b3c5e3ea92
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