Skip to content

Commit ccb331c

Browse files
committed
fix: fixing syntax error
1 parent 07d3508 commit ccb331c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/scripts/install-nim-bundle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ while getopts ${OPTS_STRING} opt; do
724724
;;
725725
m)
726726
MODE="${OPTARG}"
727-
if [[ "${MODE}" != "online" || "${MODE}" != "offline" ]]; then
727+
if [[ "${MODE}" != "online" && "${MODE}" != "offline" ]]; then
728728
echo "invalid mode ${MODE}"
729729
echo "supported values for mode are 'online' or 'offline'"
730730
exit 1

0 commit comments

Comments
 (0)