summaryrefslogtreecommitdiffstats
path: root/bin/check-new-issues
diff options
context:
space:
mode:
authorRaphael Geissert <geissert@debian.org>2017-10-12 16:05:44 +0000
committerRaphael Geissert <geissert@debian.org>2017-10-12 16:05:44 +0000
commit15c240643c6eb875e9274b3fc246ed1fda335d63 (patch)
tree6ceb9c8402a069200f81b5a313e2c2c83c59c06d /bin/check-new-issues
parentdb58e06fc32fa467f45b7f98d21d7e4771c3bf93 (diff)
no need to account for blank spaces given that they are not tolerated
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56651 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/check-new-issues')
-rwxr-xr-xbin/check-new-issues2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/check-new-issues b/bin/check-new-issues
index 315bdcbb96..fa864b6b70 100755
--- a/bin/check-new-issues
+++ b/bin/check-new-issues
@@ -220,7 +220,7 @@ sub initial_completion {
# If first word then complete commands
- if (substr($line, 0, $start) =~ /^\s*[.]?$/) {
+ if ($start == 0) {
return $term->completion_matches($text,
$attribs->{list_completion_function});
} else {

© 2014-2024 Faster IT GmbH | imprint | privacy policy