diff --git a/functions/misc.sh b/functions/misc.sh index fd0d3845..5c75583b 100644 --- a/functions/misc.sh +++ b/functions/misc.sh @@ -19,8 +19,7 @@ export -f sync prune(){ echo -e "🄿 🅁 🅄 🄽 🄴" echo "Pruned Docker Images" -if ! cli -c 'app container config prune prune_options={"remove_unused_images": true, "remove_stopped_containers": true}' | head -n -4: -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 }