From a3c052dce6a562bdbb2b817e3574f8f9da8b76c9 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 15 Dec 2022 07:10:21 +0000 Subject: [PATCH] reverse gt symbol --- functions/misc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/misc.sh b/functions/misc.sh index 7f4f51de..c14576d0 100644 --- a/functions/misc.sh +++ b/functions/misc.sh @@ -19,7 +19,7 @@ export -f sync prune(){ echo -e "🄿 🅁 🅄 🄽 🄴" version="$(cli -c 'system version' | awk -F '-' '{print $3}' | tr -d " \t\r\.")" -if (( "$version" <= 22120 )); then +if (( "$version" >= 22120 )); then if ! cli -c 'app container config prune prune_options={"remove_unused_images": true, "remove_stopped_containers": true}' | head -n -4; then echo "Failed to Prune Docker Images" fi @@ -97,4 +97,4 @@ echo "bash /mnt/tank/scripts/heavy_script.sh --delete-backup" echo exit } -export -f help \ No newline at end of file +export -f help