grub备份输出备份剩余空间大小和系统大小
This commit is contained in:
parent
131a9563c5
commit
4188510cfa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue