mirror of https://github.com/openXC7/prjxray.git
Add some disk space checks in happy and sad paths.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
aef20ce6dc
commit
ebc66ac886
|
|
@ -65,6 +65,12 @@ echo "----------------------------------------"
|
|||
echo "A failure occurred during Database build."
|
||||
echo "----------------------------------------"
|
||||
rm $tmp
|
||||
|
||||
echo "========================================"
|
||||
echo " Disk space in failure path"
|
||||
echo "----------------------------------------"
|
||||
du -sh
|
||||
|
||||
exit $DATABASE_RET
|
||||
fi
|
||||
)
|
||||
|
|
@ -188,3 +194,8 @@ echo "----------------------------------------"
|
|||
make clean_piplists
|
||||
)
|
||||
echo "----------------------------------------"
|
||||
|
||||
echo "========================================"
|
||||
echo " Final disk space after cleanup"
|
||||
echo "----------------------------------------"
|
||||
du -sh
|
||||
|
|
|
|||
Loading…
Reference in New Issue