summaryrefslogtreecommitdiff
path: root/bash-completion/hwclock
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-06-12 12:04:01 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2014-06-12 12:04:01 +0100
commitc5c1033c5c7deda8abe3448ec81bbb33c72219e0 (patch)
tree6e5cef29b85161eea8a7488a029f5a32f982c6ab /bash-completion/hwclock
parent462008f79be9e195670b202cb43827b8aeb1e60b (diff)
parent2fb567c080e1762ec6a2147564f03068f55d4f14 (diff)
downloadutil-linux-baserock/morph.tar.gz
Merge branch 'baserock/richardmaw/yakshave/util-linux-blkid' into baserock/morphbaserock/morph
Reviewed-by: Lars Wirzenius Reviewed-by: Sam Thursfield
Diffstat (limited to 'bash-completion/hwclock')
-rw-r--r--bash-completion/hwclock1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash-completion/hwclock b/bash-completion/hwclock
index 0c4ebafc1..de1ac20f3 100644
--- a/bash-completion/hwclock
+++ b/bash-completion/hwclock
@@ -6,6 +6,7 @@ _hwclock_module()
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-f'|'--rtc'|'--adjfile')
+ local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0