diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2012-05-09 09:18:44 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2012-05-09 09:26:55 +0200 |
commit | f3b17661550da58231139e6aa37848172a385fd2 (patch) | |
tree | fc2b38a5a77a16fdac18b536984132f7a2ed9950 /units/nss-user-lookup.target | |
parent | 07f74a7ebde5acf098ab72dc49a3371731ffb476 (diff) |
bash-completion: avoid losing backslashes in unit names
Use 'read -r' everywhere to consider backslashes as parts of the input line.
Single-quote the arguments to 'compgen -W' to avoid immediate expansion.
compgen itself will expand the argument.
Fixes a possible reason for "Failed to issue method call: Unknown unit"
after requesting completion.
https://bugzilla.redhat.com/show_bug.cgi?id=814966
Diffstat (limited to 'units/nss-user-lookup.target')
0 files changed, 0 insertions, 0 deletions