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
commitc7a96a1fe8b1fc0baa9d17f7c444aff15a2a8b4c (patch)
treed11d0e194bc2f77023beb2cbb1daea590bb01589 /bin/check-new-issues
parent07de8f16e707b9a460e3c34fd581c3e9635d6fd7 (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