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
commitebce74e9df0e99794441eac37495d98135fe830a (patch)
tree52408bc16db63247d3a912631ab9fd6ce27b59f6 /bin/check-new-issues
parentd735b1756d99f9cbcc5f92ce862155f1c7f116ea (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