diff mbox series

[oe-layersetup,10/15] oe-layertool-setup: guard against invalid expression in case

Message ID 20230607200504.3810426-11-rs@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series Sacrifice your first born to the linter | expand

Commit Message

Randolph Sapp June 7, 2023, 8:04 p.m. UTC
From: StaticRocket <35777938+StaticRocket@users.noreply.github.com>

Guard against and invalid expression in the main option case statement.

Signed-off-by: StaticRocket <35777938+StaticRocket@users.noreply.github.com>
---
 oe-layertool-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/oe-layertool-setup.sh b/oe-layertool-setup.sh
index 8e29f9a..e427393 100755
--- a/oe-layertool-setup.sh
+++ b/oe-layertool-setup.sh
@@ -962,7 +962,7 @@  do
         o ) outputfile="$OPTARG";;
         d ) dldir="$OPTARG";;
         b ) oebase="$OPTARG";;
-        h ) usage;;
+        * ) usage;;
     esac
 done