mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
swmodd: fix typos in error message for low disk space, bundle existence
This commit is contained in:
parent
47f938f0fd
commit
152a15d147
1 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ run_container() {
|
|||
bridge="${3}"
|
||||
|
||||
if [ ! -d "${bundle:?}/${name:?}" ]; then
|
||||
log "Bundle does not exists"
|
||||
log "Bundle does not exist"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
|
@ -188,7 +188,7 @@ pull_image_from_registry() {
|
|||
disksize=$(df -P -k ${BUNDLE} |tail -n +2 |awk '{print $4}')
|
||||
exsize=$(du -s ${temp} |awk '{print $1}')
|
||||
if [ "${disksize}" -lt "${exsize}" ]; then
|
||||
log "Disk space ${disksize} less that required ${exists}"
|
||||
log "Disk space ${disksize} less than required ${exsize}"
|
||||
cd -
|
||||
rm -rf "${temp}"
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue