summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index 4a779ec..7b42733 100755
--- a/bin/efa
+++ b/bin/efa
@@ -227,7 +227,7 @@ if ($restrict) {
}
if ($walk_speed) {
- if ($walk_speed =~ /^(normal|fast|slow)$/) {
+ if ($walk_speed ~~ ['normal', 'fast', 'slow']) {
$post{changeSpeed} = $walk_speed;
} else {
print STDERR "--walk-speed usage: normal / fast / slow\n";