From f8855d161484b5d01fb625b1efe8d84617a9dd83 Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 28 Aug 2017 09:40:28 -0500 Subject: Put in the correct values for the number of parameters check --- recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-core') diff --git a/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh b/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh index 94c69ca..fdf21f0 100755 --- a/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh +++ b/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh @@ -1,7 +1,7 @@ #!/bin/sh -if [ $# -gt 1 ] || [ $# -lt 0 ]; then +if [ $# -gt 2 ] || [ $# -lt 1 ]; then echo "\ Usage: $0 [timeout] image_id <0|1> : for dual FW image SKU-s, the id of the image to switch to -- cgit v1.2.3