grub备份输出备份剩余空间大小和系统大小

This commit is contained in:
zhaominyong 2022-07-06 14:19:01 +08:00
parent 131a9563c5
commit 4188510cfa
1 changed files with 1 additions and 0 deletions

View File

@ -469,6 +469,7 @@ checkBackupCapacity() { #(m_rootPath.toStdString().c_str(), retstatus))
fi fi
echo "free size : $backup_freeDisk; sys_size : $system_usedDisk" echo "free size : $backup_freeDisk; sys_size : $system_usedDisk"
echo "free size : $backup_freeDisk; sys_size : $system_usedDisk" >>$LOGFILE
if [ "$backup_freeDisk" -gt "$system_usedDisk" ]; then if [ "$backup_freeDisk" -gt "$system_usedDisk" ]; then
return 1 return 1
else else