From 4ad9ac3b347aafcfea0193cb10f51364e53a31a3 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Wed, 1 Dec 2021 21:44:05 +0200
Subject: [PATCH] Fix typo.

---
 Documents/bin/wb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documents/bin/wb b/Documents/bin/wb
index 59b1357..dc6aa77 100755
--- a/Documents/bin/wb
+++ b/Documents/bin/wb
@@ -81,7 +81,7 @@ kill_server() {
         not_from_toolbox
     fi
     kill_tmux
-    toolbox rm --f "$CONTAINER"
+    toolbox rm -f "$CONTAINER"
 }
 
 update() {
@@ -93,8 +93,8 @@ update() {
     then
         exit 0
     fi
-    kill_server 2>/dev/null || true
-    podman image prune --filter 'label=com.github.containers.toolbox=true' --force
+    kill_server
+    podman image prune --filter 'label=com.github.containers.toolbox=true' --force >/dev/null
     yes | toolbox create --image "$IMAGE"
 }
 
-- 
GitLab