From e6a193a6b53ff5236096eef10b8f31160dd67a9e Mon Sep 17 00:00:00 2001
From: Cyril <guilouz6@hotmail.com>
Date: Sun, 19 May 2024 21:23:38 +0200
Subject: [PATCH] Update remove_menu_3V3.sh

---
 scripts/menu/3V3/remove_menu_3V3.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/menu/3V3/remove_menu_3V3.sh b/scripts/menu/3V3/remove_menu_3V3.sh
index 1cecd16..fbcace1 100755
--- a/scripts/menu/3V3/remove_menu_3V3.sh
+++ b/scripts/menu/3V3/remove_menu_3V3.sh
@@ -91,7 +91,7 @@ function remove_menu_3v3() {
           error_msg "Entware is needed to use OctoEverywhere, please uninstall it first!"
         elif [ -d "$MOONRAKER_OBICO_FOLDER" ]; then
           error_msg "Entware is needed to use Moonraker Obico, please uninstall it first!"
-        elif [ ! -f "$USB_CAMERA_FILE" ]; then
+        elif [ -f "$USB_CAMERA_FILE" ]; then
           error_msg "Entware is needed to use USB Camera Support, please uninstall it first!"
         else
           run "remove_entware" "remove_menu_ui_3v3"