summaryrefslogtreecommitdiff
path: root/tools/ds-identify
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ds-identify')
-rwxr-xr-xtools/ds-identify3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/ds-identify b/tools/ds-identify
index 1a94c9ab..bac385dc 100755
--- a/tools/ds-identify
+++ b/tools/ds-identify
@@ -1739,6 +1739,9 @@ read_config() {
for tok in ${DI_KERNEL_CMDLINE}; do
key=${tok%%=*}
val=${tok#*=}
+
+ # discard anything after delimiter
+ val=${val%;*}
case "$key" in
ds) _rc_dsname="$val";;
ci.ds) _rc_dsname="$val";;