1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
Gert Michael Kulyk
80d37ae7b9 bash: Reflect new name of loginctl in bash-completion script
https://bugs.freedesktop.org/show_bug.cgi?id=50402
2012-05-29 19:47:20 +02:00
Michal Schmidt
f6a6814947 bash-completion: use printf instead of echo
If the expanded argument begins with '-', echo would try to interpret
it as options.
printf does not have this problem. Use it everywhere.
2012-05-09 09:44:09 +02:00
Michal Schmidt
f3b1766155 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
2012-05-09 09:26:55 +02:00
Lennart Poettering
0f4e02c220 build-sys: create top-level directory for bash completion 2012-04-12 18:26:30 +02:00