From 152a15d1471dd8c44548600b4f54b83be72fe223 Mon Sep 17 00:00:00 2001 From: Roman Azarenko Date: Sun, 23 Oct 2022 21:26:42 +0200 Subject: [PATCH] swmodd: fix typos in error message for low disk space, bundle existence --- swmodd/files/etc/swmodd/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swmodd/files/etc/swmodd/run.sh b/swmodd/files/etc/swmodd/run.sh index 5e0820347..ce5f0e366 100644 --- a/swmodd/files/etc/swmodd/run.sh +++ b/swmodd/files/etc/swmodd/run.sh @@ -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