bugfix system-info.sh

This commit is contained in:
wangxiaorou 2021-08-26 09:08:14 +00:00 committed by Gitee
parent 2245ba2c65
commit ff92977c51
2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -5,7 +5,7 @@
%define dist_release_version 8 %define dist_release_version 8
%define generic_version 20.03 %define generic_version 20.03
%define generic_patch_level LTS %define generic_patch_level LTS
%define generic_release 45 %define generic_release 46
%define builtin_release_version 1.0 %define builtin_release_version 1.0
%define current_arch %{_arch} %define current_arch %{_arch}
@ -136,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT
/etc/profile.d/performance.sh /etc/profile.d/performance.sh
%changelog %changelog
* Thu Aug 26 2021 wangxiaorou <wangxiaorou@uniontech.com> - 1.0-46
- fix system-info.sh syntax error
* Thu Apr 1 2021 gaochong <gaochong@uniontech.com> - 1.0-45 * Thu Apr 1 2021 gaochong <gaochong@uniontech.com> - 1.0-45
- bugfix I468W9 - bugfix I468W9