aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/utils/bs11_config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/utils/bs11_config.c b/openbsc/src/utils/bs11_config.c
index 0d13e25c5..3fb74bf99 100644
--- a/openbsc/src/utils/bs11_config.c
+++ b/openbsc/src/utils/bs11_config.c
@@ -850,10 +850,11 @@ static void handle_options(int argc, char **argv)
break;
}
}
- if (optind < argc)
+ if (optind < argc) {
command = argv[optind];
if (optind+1 < argc)
value = argv[optind+1];
+ }
}