summaryrefslogtreecommitdiff
path: root/ec2-is-compat-env
diff options
context:
space:
mode:
Diffstat (limited to 'ec2-is-compat-env')
-rw-r--r--ec2-is-compat-env4
1 files changed, 2 insertions, 2 deletions
diff --git a/ec2-is-compat-env b/ec2-is-compat-env
index 07034670..c987fe6f 100644
--- a/ec2-is-compat-env
+++ b/ec2-is-compat-env
@@ -59,8 +59,8 @@ fi
if [ -e /proc/cmdline ] && read cmdline < /proc/cmdline; then
# if cmdline has certain tokens in it, trust them
case " ${cmdline} " in
- *\ ${CMDLINE_EC2_COMPAT}=1\ ) xit 0;;
- *\ ${CMDLINE_EC2_COMPAT}=0\ ) xit 1;;
+ *\ ${CMDLINE_EC2_COMPAT}=1\ *) xit 0;;
+ *\ ${CMDLINE_EC2_COMPAT}=0\ *) xit 1;;
esac
fi